CVE-2026-112777
published 2026-10-19CVE-2026-112777: 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…
PriorityP346high7.2CVSS 3.1
AVNACLPRHUINSUCHIHAH
EPSS
0.49%
41.1th percentile
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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| craftcms | cms | >= 4.0.0 < 4.18.8 | 4.18.8 |
| craftcms | cms | >= 5.0.0 < 5.11.0 | 5.11.0 |
CVSS provenance
nvdv3.17.2HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
nvdv4.08.7HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
craftcms Craft CMS up to 4.18.7/5.10.9 Class Name Check create information disclosure
vuldb·2026-10-19·CVSS 7.2
CVE-2026-112777 [HIGH] craftcms Craft CMS up to 4.18.7/5.10.9 Class Name Check create information disclosure
A vulnerability categorized as problematic has been discovered in craftcms Craft CMS up to 4.18.7/5.10.9. This issue affects the function create of the component Class Name Check. The manipulation results in information disclosure.
This vulnerability is cataloged as CVE-2026-112777. The attack may be launched remotely. There is no exploit available.
It is advisable to upgrade the affected component.
GHSA
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.
ghsa_unreviewed·2026-10-19
CVE-2026-112777 [HIGH] CWE-184 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.
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-10-19
Published