Skip to main content
VulnerabilityPublished

CVE-2026-56382: craftcms cms · Code Injection

Affects craftcms cmsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.6 High : upgrade to 5.9.14 soon.

Data as of 3 Nov 2026, 22:58 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.9.14
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 3 Nov 2026.

What to do

Upgrade craftcms cms to 5.9.14.

Affected software

ProductAffectedFixed in
craftcmscmsAffected
  • >=5.5.0 <5.9.14
Fixed in
  • 5.9.14
Packagistcraftcms/cmspkg:composer/craftcms/cmsOther threatsAffected
  • =5.5.0
  • <=5.9.13 >=5.5.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Craft CMS to version 5.9.14 or later, where this vulnerability is fixed. Since the vulnerability requires authenticated admin access, ensure that admin credentials are protected and monitor for any suspicious activity. Patch status is confirmed fixed in 5.9.14.

Description

Craft CMS (composer package craftcms/cms) versions >= 5.5.0 and <= 5.9.13 contain a remote code execution vulnerability in the FieldsController::actionRenderCardPreview() method, which passes the fieldLayoutConfig POST parameter directly to Fields::createLayout() without calling Component::cleanseConfig(). An authenticated admin user can inject Yii2 event handlers (e.g., 'on init' keys) via the fieldLayoutConfig parameter to execute arbitrary PHP code and disclose sensitive information (such as environment variables containing database credentials and CRAFT_SECURITY_KEY). The issue is fixed in version 5.9.14.

References

Community reviews

Loading reviews…