Skip to content
RedCVE

CVE-2026-115935Craft CMS Cms code injection

Craft CMSPublished:

CVSS score

8.7

High

CVSS 4.0 from 7004884b-51e2-48e8-b4a2-5ca29e80453e

Exploit probability (EPSS)

0.37%

0.37% chance of exploitation in the next 30 days, higher than 31.4% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

The app/process-api-response-headers action accepts fake Craft API response headers from any authenticated control panel user. A non-admin user with only accessCp can place newline characters in X-Craft-Plugin-Licenses. Craft passes this value to its .env writer without removing the newlines. This lets the user insert a new attacker-known CRAFT_SECURITY_KEY into .env. After Craft loads that key, the user can forge a signed login redirect containing a Twig system() callback. This is different from the previous report. That report reads the existing key through a Twig sandbox bypass. This report replaces the key through fake API headers and CRLF injection. Fixing either source does not fix the other.

Source: NVD · CNA: 7004884b-51e2-48e8-b4a2-5ca29e80453e

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Craft CMS Cms and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Cms to 4.18.9, 5.11.2 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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

Affected products

Affected productsVersions
Craft CMS Cms≥ 5.0.0, < 5.11.2 · ≥ 4.0.0, < 4.18.9

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-115935 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-115935?

CVE-2026-115935 has a CVSS 4.0 base score of 8.7 (high).

Which versions are affected?

Craft CMS Cms (≥ 5.0.0, < 5.11.2; ≥ 4.0.0, < 4.18.9)

Is there a patch for CVE-2026-115935?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.