Incomplete List of Disallowed Inputs in Craft CMS - CVE-2026-112777

 

Incomplete List of Disallowed Inputs in Craft CMS - CVE-2026-112777

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


Vulnerability identifier: #VU159593
CSH Severity: Low
CVSS v4: 8.6 [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]
CVE-ID: CVE-2026-112777
CWE-ID: CWE-184
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an administrator with template-execution rights to read and write local files accessible to the web user and execute arbitrary code.

The vulnerability exists due to case-sensitive blocklist checks in Craft CMS's Twig create() function accepting lowercase SplFileObject names despite PHP's case-insensitive class resolution. An administrator with template-execution rights can execute code as the web user by writing a PHP shell into a writable webroot and requesting it over HTTP.


Affected software

Craft CMS

How to mitigate CVE-2026-112777

Install security update from vendor's website.

Craft CMS - addressed in versions 4.18.8, 5.11.0

External References

Related Security Bulletins