Skip to main content

CVE-2026-105985: CWE-1336 Improper neutralization of special elements used in a template engine in craftcms cms

0
High
VulnerabilityCVE-2026-105985cvecve-2026-105985cwe-1336
Published: 10/06/2026 (10/06/2026, 10:23:25 UTC)
Source: CVE Database V5
Vendor/Project: craftcms
Product: cms

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

craftcms

cms

Affected versions
>=5.0.0 <5.11.0
Packagistmore threats →cve
craftcms/cms
pkg:composer/craftcms/cms
Affected versions
>=5.0.0 <5.11.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/06/2026, 10:48:13 UTC

Technical Analysis

CVE-2026-105985 is an authenticated remote code execution vulnerability in Craft CMS 5.10.13.2 and earlier versions before 5.11.0. The flaw exists in the Control Panel action app/render-components, where an attacker with basic Control Panel access can manipulate component classes and property overrides, specifically by overriding an EntryType object's uiLabelFormat and rendering an Entry that resolves the same cached entry type. This triggers the evaluation of arbitrary Twig template code via renderObjectTemplate(), which is not sandboxed. Consequently, an attacker can execute arbitrary PHP functions, including system(), resulting in OS command execution with the web server's privileges. The issue was demonstrated with a non-admin user lacking optional permissions, indicating a low privilege requirement for exploitation.

Potential Impact

Successful exploitation allows an authenticated user with minimal Control Panel access to execute arbitrary operating system commands on the server hosting Craft CMS. This can lead to full compromise of the web server environment under the PHP/web-server process privileges. The vulnerability does not require admin rights or elevated permissions, increasing the risk of exploitation by legitimate users with basic access.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Control Panel access to trusted users only and monitor for suspicious activity. Avoid granting unnecessary Control Panel permissions to users. Follow vendor updates closely for an official patch or temporary mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Hackrate
Date Reserved
2026-10-06T10:08:10.713Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac4ce922cdf04f6569aff05

Added to database: 10/06/2026, 10:33:54 UTC

Last enriched: 10/06/2026, 10:48:13 UTC

Last updated: 10/06/2026, 18:57:28 UTC

Views: 21

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses