Incomplete List of Disallowed Inputs in Craft CMS - CVE-2026-112777
Published: November 6, 2026 / Updated: November 7, 2026
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.