SSRF in Craftcms Cms
CVE-2026-25494
- CVSS v3
- 6.5 Medium
- Public exploits
- None known
- EPSS
- 0.004 · 34.9th percentile
- Published
- 2026-02-09
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.004, 34.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Craftcms Cms — versions >= 5.0.0-RC1, < 5.8.22
- Craftcms Craft Cms — versions 4.0.0, 5.0.0
Weakness classification (CWE)
References
- https://github.com/craftcms/cms/security/advisories/GHSA-m5r2-8p9x-hp5m (Exploit, Patch, Vendor Advisory)
- https://github.com/craftcms/cms/commit/d49e93e5ba0c48939ce5eaa6cd9b4a990542d8b2 (Patch)
- https://github.com/craftcms/cms/releases/tag/5.8.22 (Release Notes)