Code Injection in Craft CMS - CVE-2026-105985

 

Code Injection in Craft CMS - CVE-2026-105985

Published: November 6, 2026 / Updated: November 6, 2026


Vulnerability identifier: #VU159590
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2026-105985
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a low-privileged authenticated attacker with Control Panel access to execute operating-system commands as the PHP/web-server account.

The vulnerability exists due to request-controlled entry type label overrides being evaluated as unsandboxed Twig templates by Craft CMS's app/render-components action. A low-privileged authenticated attacker can submit malicious component overrides when at least one entry type and one entry exist, causing attacker-supplied Twig to invoke PHP command-execution functions.


Affected software

Craft CMS

How to mitigate CVE-2026-105985

Install security update from vendor's website.

Craft CMS - update to 5.11.0

External References

Related Security Bulletins