Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-112777— Craft CMS before 4.18.8 and 5.11.0 Twig create() Blocklist Bypass Leading to RCE

Quick assessment

Affected
craftcms cms
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Craft CMS 4.x(4.18.8 之前版本)和 5.x(5.11.0 之前版本)在 Twig 的 函数中存在黑名单绕过漏洞。该漏洞源于其类名检查区分大小写,而 PHP 的类解析机制不区分大小写。拥有模板执行权限的攻击者(例如控制面板管理员)可通过小写类名实例化 ,从而读取 文件中的敏感信息,或将 PHP 文件写入 Web 根目录以实现远程代码执行。

CVSS 7.2 · High

Affected Version Matrix 4

VendorProduct Version RangeStatus
craftcms cms 4.0.0< 4.18.8 affected
4.18.8 unaffected
5.0.0< 5.11.0 affected
5.11.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-112777

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Craft CMS before 4.18.8 and 5.11.0 Twig create() Blocklist Bypass Leading to RCE
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
不完整的黑名单
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
craftcms cms 4.0.0 ~ 4.18.8 -
craftcms cms 5.0.0 ~ 5.11.0 -

II. Public POCs for CVE-2026-112777

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-112777

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-112777 (1)

Other References for CVE-2026-112777 (1)

Same Patch Batch · craftcms · 2026-10-19 · 8 CVEs total

CVE-2026-112776 9.8 CRITICAL Craft CMS 5.0.0 before 5.11.0 GraphQL Site-Scope Bypass via Mutations
CVE-2026-112770 8.8 HIGH Craft CMS before 4.18.8 and 5.11.0 Authenticated RCE via Twig group Filter Array-Callable
CVE-2026-112772 8.8 HIGH Craft CMS 5.0.0 before 5.11.0 RCE via Asset::getMimeType Transform Injection
CVE-2026-112773 8.8 HIGH Craft CMS 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection
CVE-2026-112775 7.5 HIGH Craft CMS 5.0.0 before 5.11.0 Verification Code Reuse via users/set-password
CVE-2026-112774 7.2 HIGH Craft CMS 5.8.0 before 5.11.0 Admin RCE via ContentBlock Field Layout
CVE-2026-112771 6.5 MEDIUM Craft CMS before 4.18.8 and 5.11.0 Twig Sandbox Allowlist Bypass via Array Filters

IV. Related Vulnerabilities

V. Comments for CVE-2026-112777

No comments yet


Leave a comment