{"id":"CVE-2026-25493","summary":"Craft has a SSRF in GraphQL Asset Mutation via HTTP Redirect","details":"Craft is a platform for creating digital experiences. In Craft versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, the saveAsset GraphQL mutation validates the initial URL hostname and resolved IP against a blocklist, but Guzzle follows HTTP redirects by default. An attacker can bypass all SSRF protections by hosting a redirect that points to cloud metadata endpoints or any internal IP addresses. This issue is patched in versions 4.16.18 and 5.8.22.","aliases":["GHSA-8jr8-7hr4-vhfx"],"modified":"2026-08-12T03:51:12.957451858Z","published":"2026-02-09T19:36:58.713Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25493.json"},"references":[{"type":"WEB","url":"https://github.com/craftcms/cms/releases/tag/5.8.22"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25493.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-8jr8-7hr4-vhfx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25493"},{"type":"FIX","url":"https://github.com/craftcms/cms/commit/0974055634af68998f67850ab2045d8aaa19fa98"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"04755d93f86d07cc183db47db8a0eee106892e30"},{"fixed":"8e23a7a14d50f169c10a487348c993384d479e06"},{"introduced":"daac7c1da2f701f2e9ddee1da1457ce61660b581"},{"fixed":"fc466946af3dd7928f5fd0e26099b9dc0eb2ce72"}],"database_specific":{"extracted_events":[{"introduced":"5.0.0-RC1"},{"fixed":"5.8.22"},{"introduced":"4.0.0-RC1"},{"fixed":"4.16.18"}],"source":"AFFECTED_FIELD"}},{"type":"GIT","repo":"https://github.com/nystudio107/craft-seomatic","events":[{"introduced":"a31f7d211b52d55d274c66a291310ceec64c733f"},{"last_affected":"a31f7d211b52d55d274c66a291310ceec64c733f"}],"database_specific":{"cpe":"cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:*","extracted_events":[{"introduced":"4.0.0-NA"},{"last_affected":"4.0.0-NA"}],"source":"CPE_STRING"}}],"versions":["4.0.0-NA","4.0.0-rc1","4.0.0-rc2","4.0.0-rc3","5.0.0-NA","5.0.0-rc1","4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25493.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}]}