{"id":"CVE-2026-112777","published":"2026-10-19T19:10:54Z","modified":"2026-10-20T16:09:54Z","title":"Craft CMS before 4.18.8 and 5.11.0 Twig create() Blocklist Bypass Leading to RCE","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"Craft CMS 4.x before 4.18.8 and 5.x before 5.11.0 contains a blocklist bypass in the Twig create() function because its class-name checks are case-sensitive while PHP class resolution is not. Attackers with template-execution rights, such as Control Panel administrators, can instantiate SplFileObject via a lowercase class name to read .env secrets or write a PHP file into the webroot for remote code execution.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00879,"percentile":0.56817,"provenance":"source"},"cwes":[{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-w643-x88w-6wcm","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/craft-cms-before-4.18.8-and-5.11.0-twig-create-blocklist-bypass-leading-to-rce","tags":["third-party-advisory"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":11.36},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 4.0.0, < 4.18.8"]},{"vendor":"craftcms","product":"cms","versions":[">= 5.0.0, < 5.11.0"]}],"fixedVersions":[{"vendor":"craftcms","product":"cms","versions":["4.18.8"]},{"vendor":"craftcms","product":"cms","versions":["5.11.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-20T15:18:55.635155Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-104583","exploited":false,"provenance":"source"}}