SSRF in Craftcms Cms
CVE-2026-25494
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)
EPSS: 0.004 (28.5th percentile) — read the EPSS interpretation.
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.
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
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Patch, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-25494?
- CVE-2026-25494 is a medium-severity vulnerability in Craftcms Cms, classified under Server-Side Request Forgery (SSRF). CVSS score: 6.5/10. Published 2026-02-09.
- How severe is CVE-2026-25494?
- Medium severity. CVSS v3 base score is 6.5 out of 10.