CVE-2026-25498 json
Craft has a potential authenticated Remote Code Execution via malicious attached Behavior
published 2026-02-09 8 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-6844 , GHSA-7jx7-3846-m7w7
- cvss
- 7.2
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
Craft is a platform for creating digital experiences. In versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, a Remote Code Execution (RCE) vulnerability exists in Craft CMS where the assembleLayoutFromPost() function in src/services/Fields.php fails to sanitize user-supplied configuration data before passing it to Craft::createObject(). This allows authenticated administrators to inject malicious Yii2 behavior configurations that execute arbitrary system commands on the server. This vulnerability represents an unpatched variant of the behavior injection vulnerability addressed in CVE-2025-68455, affecting different endpoints through a separate code path. This vulnerability is fixed in 5.8.22.
Patch / fix
- packagist craftcms/cms 4.16.18, 5.8.22
- craftcms craft_cms 4.16.18, 5.8.22
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 8 mo ago
Exploit prediction
1.10% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/craftcms/cms/security/advisories/GHSA-7jx7-3846-m7w7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 4.0 | 8.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/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 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
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-470 Use of Externally-Controlled Input to Select Classes or Code
References
-
github.com
/craftcms/cms/commit/395c64f0b80b507be1c862a2ec942eaacb353748
web, patch
-
github.com
/craftcms/cms/security/advisories/GHSA-7jx7-3846-m7w7
web, exploit, patch, vendor-advisory
-
github.com
/craftcms/cms/releases/tag/5.8.22
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-25498
advisory
-
github.com
/craftcms/cms
package
-
github.com
/craftcms/cms/releases/tag/4.16.18
web
Sources
- CVE List CVE-2026-25498
- GitHub Advisory GHSA-7jx7-3846-m7w7
- NVD CVE-2026-25498
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.