{"id":"CVE-2026-25493","published":"2026-02-09T19:36:58Z","modified":"2026-02-10T16:00:35Z","title":"Craft has a SSRF in GraphQL Asset Mutation via HTTP Redirect","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0045,"percentile":0.3102,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-8jr8-7hr4-vhfx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/craftcms/cms/commit/0974055634af68998f67850ab2045d8aaa19fa98","tags":["x_refsource_MISC"]},{"url":"https://github.com/craftcms/cms/releases/tag/5.8.22","tags":["x_refsource_MISC"]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":6.2},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 5.0.0-RC1, < 5.8.22",">= 4.0.0-RC1, < 4.16.18"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-10T15:39:50.842190Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"craftcms/cms","vulnerableRanges":[">=5.0.0-RC1, <5.8.22",">=4.0.0-RC1, <4.16.18"],"patched":["5.8.22","4.16.18"],"from":["GHSA-8jr8-7hr4-vhfx"],"provenance":"source"}],"summary":{"text":"Craft CMS's GraphQL saveAsset mutation contains a server-side request forgery flaw in its asset-handling component: the URL check is applied only to the initial address, while the HTTP client follows redirects by default, so the protection can be bypassed. An unauthenticated remote attacker can exploit this by hosting a redirect to cloud metadata endpoints or internal IP addresses, requiring only network access to the vulnerable GraphQL endpoint and no user interaction or special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:15Z"},"euvd":{"id":"EUVD-2026-6843","exploited":false,"provenance":"source"}}