Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. CVE-2026-25493

CVE-2026-25493: Craft CMS Vulnerable to SSRF in GraphQL Asset Mutation via HTTP Redirect

February 9, 2026

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.


References

  • github.com/advisories/GHSA-8jr8-7hr4-vhfx
  • github.com/craftcms/cms
  • github.com/craftcms/cms/commit/0974055634af68998f67850ab2045d8aaa19fa98
  • github.com/craftcms/cms/releases/tag/4.16.18
  • github.com/craftcms/cms/releases/tag/5.8.22
  • github.com/craftcms/cms/security/advisories/GHSA-8jr8-7hr4-vhfx
  • nvd.nist.gov/vuln/detail/CVE-2026-25493

Code Behaviors & Features

Detect and mitigate CVE-2026-25493 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.0-RC1 before 4.16.18, all versions starting from 5.0.0-RC1 before 5.8.22

Fixed versions

  • 5.8.22
  • 4.16.18

Solution

Upgrade to versions 4.16.18, 5.8.22 or above.

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

packagist/craftcms/cms/CVE-2026-25493.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:47 +0000.