Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-25493 EUVD-2026-6843GHSA-8jr8-7hr4-vhfx

Craft has a SSRF in GraphQL Asset Mutation via HTTP Redirect

Published Feb 9, 2026 · Updated Feb 10, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
craftcms cms >= 5.0.0-RC1, < 5.8.22, >= 4.0.0-RC1, < 4.16.18 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist craftcms/cms >= 5.0.0-RC1, < 5.8.22 5.8.22 GHSA-8jr8-7hr4-vhfx
Packagist craftcms/cms >= 4.0.0-RC1, < 4.16.18 4.16.18 GHSA-8jr8-7hr4-vhfx

References