CVE-2026-25494: craftcms cms · Server-Side Request Forgery (SSRF)
Affects craftcms cmsSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium : upgrade to 5.8.22 when convenient.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.8.22
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade craftcms cms to 5.8.22.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| craftcmscms | Affected
| Fixed in
|
AI-suggested
European organizations should immediately upgrade Craft CMS to versions 4.16.18 or 5.8.22 or later, where the vulnerability is patched. In addition to patching, organizations should implement strict network segmentation to limit access from web-facing services to internal cloud metadata endpoints. Employing Web Application Firewalls (WAFs) with rules to detect and block SSRF patterns can provide an additional layer of defense. Monitoring and logging GraphQL mutation requests, especially saveAsset operations, can help detect anomalous activity indicative of exploitation attempts. Organizations should also audit their cloud metadata service configurations to enforce the use of Instance Metadata Service Version 2 (IMDSv2) or equivalent protections that require session tokens, reducing SSRF impact. Regular security assessments and penetration testing focusing on SSRF vectors in GraphQL APIs are recommended. Finally, educating developers about secure IP validation and input sanitization practices can prevent similar issues in future development.
Description
CVE-2026-25494 is a Server-Side Request Forgery (SSRF) vulnerability in Craft CMS versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21. The vulnerability arises because the saveAsset GraphQL mutation uses PHP's filter_var function with FILTER_VALIDATE_IP to block certain IP addresses, but this function does not recognize alternative IP notations such as hexadecimal or mixed formats.