CVE-2026-112777
Last modified
CVE-2026-112777 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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.. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| craftcms | cms | >= 4.0.0, < 4.18.8 |
| craftcms | cms | >= 5.0.0, < 5.11.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-112777?
How severe is CVE-2026-112777?
How do I fix CVE-2026-112777?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-112771Craft CMS 4.0.0 before 4.18.8 and 5.0.0 before 5.11.0 contai…6.5
- CVE-2026-112772Craft CMS from 5.0.0 before 5.11.0 contains a remote code ex…8.8
- CVE-2026-112773Craft CMS from 5.0.0 before 5.11.0 contains a remote code ex…8.8
- CVE-2026-112774Craft CMS from 5.8.0 before 5.11.0 contains a remote code ex…7.2
- CVE-2026-112775Craft CMS from 5.0.0 before 5.11.0 contains an authenticatio…7.5
- CVE-2026-112776Craft CMS from 5.0.0 before 5.11.0 contains an authorization…9.8
- CVE-2026-112778Traefik before 2.11.46, 3.x before 3.6.17, and 3.7.0 lack na…6.4
- CVE-2026-112779Grav API plugin (grav-plugin-api) 1.0.40 before 1.0.42 cache…9.8
- CVE-2026-11278Inappropriate implementation in CustomTabs in Google Chrome …6.5
- CVE-2026-112780Grav from 2.0.15 before 2.2.2 contains an allowlist bypass v…8.8
- CVE-2026-112781Grav from 2.0.0 before 2.2.2 contains an information disclos…6.5
- CVE-2026-112782Grav 1.7.53 before 1.7.53.5 and 2.0.0-rc.8 before 2.2.2 cont…7.5
Are you affected by CVE-2026-112777?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
