Back to CVE records
High 8.6Published Feb 9, 2026

CVE-2026-25498Craft has a potential authenticated Remote Code Execution via malicious attached Behavior

Updated under an hour ago ()

Does this affect you?

It affects craftcms cms and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
8.6 HIGH (v4.0, CNA)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
Weakness (CWE)
CWE-470
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Feb 10, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
craftcms cms
craftcms:cms (from the name)
from 5.0.0-RC1, < 5.8.22; from 4.0.0-RC1, < 4.16.18
CNA record
craftcms craft_cms
craftcms:craft_cms
after 4.0.0 before 4.16.18; after 5.0.0 before 5.8.22; 4.0.0; 4.0.0; 4.0.0; 4.0.0; 5.0.0; 5.0.0
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.