CVE-2026-25498: craftcms cms · Unsafe Reflection
Affects craftcms cmsSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 8.6 High : upgrade to 5.8.22 or 4.16.18 soon.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 1.1% chance of exploitation in 30 days – higher than 65% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.8.22, 4.16.18
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/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 or 4.16.18.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| craftcmscms | Affected
| Fixed in
|
| craftcmscms | Affected
| Fixed in
|
AI-suggested
To mitigate CVE-2026-25498, organizations should immediately upgrade Craft CMS installations to version 5.8.22 or later, where the vulnerability is patched. If immediate patching is not possible, restrict administrator access to trusted personnel and enforce strong authentication mechanisms such as multi-factor authentication (MFA). Conduct thorough audits of administrator accounts and revoke unnecessary privileges. Implement strict input validation and sanitization on all user-supplied configuration data, especially in custom plugins or modules interacting with Yii2 behaviors. Monitor server logs for suspicious activity related to behavior configuration changes or command execution attempts. Employ network segmentation and host-based intrusion detection systems to detect and prevent lateral movement in case of compromise. Regularly back up critical data and test incident response plans to minimize downtime and data loss in case of exploitation.
Description
CVE-2026-25498 is a high-severity Remote Code Execution (RCE) vulnerability in Craft CMS versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21. It arises from unsafe reflection due to insufficient sanitization of user-supplied configuration data in the assembleLayoutFromPost() function, allowing authenticated administrators to inject malicious Yii2 behavior configurations.