Advisory record · GHSA-m5r2-8p9x-hp5m

Craft CMS Vulnerable to SSRF in GraphQL Asset Mutation via Alternative IP Notation

CVSS 6.9 MediumEPSS 0.0040 · 34th percentile

Published by the GitHub Advisory Database at 9 Feb 2026, 20:35 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
craftcms/cmsPackagist>=5.0.0-RC1, <5.8.22 || >=4.0.0-RC1, <4.16.185.8.22, 4.16.18
Identifiers
GHSA-m5r2-8p9x-hp5m · CVE-2026-25494 · PKSA-jsy4-k6z3-fcjb
Weakness (CWE)
CWE-918
Published
9 Feb 2026
Updated
22 Feb 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Craft CMS versions 4.0.0-RC1 up to 4.16.18 and 5.0.0-RC1 up to 5.8.22 are vulnerable to server-side request forgery through the saveAsset GraphQL mutation. The mutation's blocklist check does not recognize alternative IP notations such as hexadecimal forms, so a request using them can reach internal addresses, including cloud metadata services, and save the fetched content. The source does not say what privileges are needed to send the mutation. Upgrade to craftcms/cms 4.16.18 or 5.8.22, depending on your release line.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.9 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0040, the 34th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:26 UTC First seen by agentprime
  2. 31 Oct 2026, 14:26 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.