{"id":"CVE-2026-25493","state":"PUBLISHED","title":"Craft has a SSRF in GraphQL Asset Mutation via HTTP Redirect","description":"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.","publishedAt":"2026-02-09T19:36:58.713Z","updatedAt":"2026-02-10T16:00:35.771Z","severity":{"score":6.9,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["craftcms cms"],"affected":[{"vendor":"craftcms","product":"cms","versions":[{"version":">= 5.0.0-RC1, < 5.8.22","status":"affected"},{"version":">= 4.0.0-RC1, < 4.16.18","status":"affected"}]}],"references":["https://github.com/craftcms/cms/security/advisories/GHSA-8jr8-7hr4-vhfx","https://github.com/craftcms/cms/commit/0974055634af68998f67850ab2045d8aaa19fa98","https://github.com/craftcms/cms/releases/tag/5.8.22"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/25xxx/CVE-2026-25493.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-25493","state":"PUBLISHED","datePublished":"2026-02-09T19:36:58.713Z","dateUpdated":"2026-02-10T16:00:35.771Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-02T16:31:35.823Z"},"containers":{"cna":{"title":"Craft has a SSRF in GraphQL Asset Mutation via HTTP Redirect","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"craftcms","product":"cms","versions":[{"version":">= 5.0.0-RC1, < 5.8.22","status":"affected"},{"version":">= 4.0.0-RC1, < 4.16.18","status":"affected"}]}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-8jr8-7hr4-vhfx","name":"https://github.com/craftcms/cms/security/advisories/GHSA-8jr8-7hr4-vhfx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/craftcms/cms/commit/0974055634af68998f67850ab2045d8aaa19fa98","name":"https://github.com/craftcms/cms/commit/0974055634af68998f67850ab2045d8aaa19fa98","tags":["x_refsource_MISC"]},{"url":"https://github.com/craftcms/cms/releases/tag/5.8.22","name":"https://github.com/craftcms/cms/releases/tag/5.8.22","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-09T19:36:58.713Z"},"source":{"advisory":"GHSA-8jr8-7hr4-vhfx","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-10T15:39:50.842190Z","id":"CVE-2026-25493","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-10T16:00:35.771Z"}}]}}}