{"id":"CVE-2026-112777","aliases":["CVE-2026-112777"],"related":[],"kind":"vulnerability","state":"published","title":"Craft CMS before 4.18.8 and 5.11.0 Twig create() Blocklist Bypass Leading to RCE","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-19T19:10:54.567Z","modified":"2026-10-20T17:17:31.597Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"}],"cwes":["CWE-184"],"affected":[{"ranges":[{"type":"semver","introduced":"4.0.0","fixed":"4.18.8","status":"affected"},{"type":"semver","version":"4.18.8","status":"unaffected"}],"vendor":"craftcms","product":"cms","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"5.0.0","fixed":"5.11.0","status":"affected"},{"type":"semver","version":"5.11.0","status":"unaffected"}],"vendor":"craftcms","product":"cms","source":"cvelist"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-w643-x88w-6wcm","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"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"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-20T15:18:55.635Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-112777","url":"https://www.cve.org/CVERecord?id=CVE-2026-112777","licence":"CVE Terms of Use","modified":"2026-10-20T16:09:54.518Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-112777","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112777","licence":"Public domain","modified":"2026-10-20T17:17:31.597Z"}],"updatedAt":"2026-11-25T22:59:45.928Z","epss":{"score":0.00612,"percentile":0.50659,"date":"2026-12-01T12:00:22.000Z"}}