GHSA-7jx7-3846-m7w7 · Severity: high · Ecosystem: composer — Craft CMS Vulnerable to potential authenticated Remote Code Execution via malicious attached Behavior
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.
Conclusion & alert: CVE-2026-25498 is rated High Exploit Risk (70.2/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.37%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-11 | 0.26% | 0.37% | +0.10% |
| 2 | 2026-03-13 | 0.16% | 0.26% | +0.10% |
| 3 | 2026-02-15 | — | 0.16% | — |
Full EPSS history (4 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.6 | 4.0 | HIGH |
|
— | — | [email protected] |
| 7.2 | 3.1 | HIGH |
|
1.2 | 5.9 | [email protected] |
GHSA-7jx7-3846-m7w7 · Severity: high · Ecosystem: composer — Craft CMS Vulnerable to potential authenticated Remote Code Execution via malicious attached Behavior
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| craftcms | craft_cms | > 4.0.0, < 4.16.18 | cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
| craftcms | craft_cms | > 5.0.0, < 5.8.22 | cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
| craftcms | craft_cms | 4.0.0 | cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:* |
| craftcms | craft_cms | 4.0.0 | cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:* |
| craftcms | craft_cms | 4.0.0 | cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:* |
| craftcms | craft_cms | 4.0.0 | cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:* |
| craftcms | craft_cms | 5.0.0 | cpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:* |
| craftcms | craft_cms | 5.0.0 | cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/craftcms/cms/commit/395c64f0b80b507be1c862a2ec942eaacb353748 | Patch |
| https://github.com/craftcms/cms/releases/tag/5.8.22 | Release Notes |
| https://github.com/craftcms/cms/security/advisories/GHSA-7jx7-3846-m7w7 | Exploit Vendor Advisory Patch |