RCE in Craftcms Cms

CVE-2026-31857

Craft is a content management system (CMS). Prior to 5.9.9 and 4.17.4, a Remote Code Execution vulnerability exists in the Craft CMS 5 conditions system. The BaseElementSelectConditionRule::getElementIds() method passes user-controlled str…

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.007 (47.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-31857?
CVE-2026-31857 is a high-severity vulnerability in Craftcms Cms, classified under Code Injection. CVSS score: 8.8/10. Published 2026-03-11.
How severe is CVE-2026-31857?
High severity. CVSS v3 base score is 8.8 out of 10.