CVE-2026-105985Craft CMS Cms template injection
CVSS score
8.7
High
CVSS 4.0 from 7004884b-51e2-48e8-b4a2-5ca29e80453e
Exploit probability (EPSS)
0.69%
0.69% chance of exploitation in the next 30 days, higher than 53.7% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
Craft CMS 5.10.13.2 contains an authenticated remote code execution vulnerability in the Control Panel action app/render-components.
Any authenticated user with basic Control Panel access can submit request-controlled component classes and property overrides. By first overriding an EntryType object’s uiLabelFormat and then rendering an Entry that resolves the same request-cached entry type, an attacker can cause arbitrary Twig supplied in the request to be evaluated by renderObjectTemplate().
This render path is not sandboxed. A Twig string callable can therefore reach PHP functions such as system(), resulting in operating-system command execution with the privileges of the PHP/web-server process.
The issue was reproduced with an active non-admin Craft Team user with no optional permissions enabled. No access to entry-editing, Settings, utility, user-management, project-config, filesystem, Kubernetes, or environment variables was required.
Source: NVD · CNA: 7004884b-51e2-48e8-b4a2-5ca29e80453e
How to fix it, step by step
Check whether you're affected
Find every system running Craft CMS Cms and compare its version with the affected versions.
Update to a fixed version
- Update Cms to 5.11.0 or later.
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 products | Versions |
|---|---|
| Craft CMS Cms | ≥ 5.0.0, < 5.11.0 |
Weakness
- CWE-1336 template injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-105985 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.7% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-105985?
CVE-2026-105985 has a CVSS 4.0 base score of 8.7 (high).
Which versions are affected?
Craft CMS Cms (≥ 5.0.0, < 5.11.0)
Is there a patch for CVE-2026-105985?
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.