CVE-2026-25494 json
Craft has a SSRF in GraphQL Asset Mutation via Alternative IP Notation
published 2026-02-09 8 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-6840 , GHSA-m5r2-8p9x-hp5m
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
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 uses filter_var(..., FILTER_VALIDATE_IP) to block a specific list of IP addresses. However, alternative IP notations (hexadecimal, mixed) are not recognized by this function, allowing attackers to bypass the blocklist and access cloud metadata services. This issue is patched in versions 4.16.18 and 5.8.22.
Patch / fix
- packagist craftcms/cms 4.16.18, 5.8.22
- craftcms craft_cms 5.8.22
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/craftcms/cms/security/advisories/GHSA-m5r2-8p9x-hp5m referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | 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 | 4.0 | 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | craftcms/cms | >=5.0.0-RC1, <5.8.22 >=4.0.0-RC1, <4.16.18 |
5.8.22 4.16.18 |
Affected products
- craftcms cms
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/craftcms/cms/commit/d49e93e5ba0c48939ce5eaa6cd9b4a990542d8b2
web, patch
-
github.com
/craftcms/cms/security/advisories/GHSA-m5r2-8p9x-hp5m
web, exploit, patch, vendor-advisory
-
github.com
/craftcms/cms/releases/tag/5.8.22
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-25494
advisory
-
github.com
/craftcms/cms
package
-
github.com
/craftcms/cms/releases/tag/4.16.18
web
Sources
- CVE List CVE-2026-25494
- GitHub Advisory GHSA-m5r2-8p9x-hp5m
- NVD CVE-2026-25494
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.