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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-112773— Craft CMS 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection

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 5.0.0 至 5.11.0(不含 5.11.0)版本存在一个远程代码执行漏洞。该漏洞允许已认证的后台管理用户通过向 、 或 方法传递未经净化的筛选条件,从而绕过 Twig 沙箱限制。攻击者可以注入 Yii 框架的 "as" 或 "on" 配置键,附加恶意事件处理程序;当元素查询执行时,这些处理程序将被触发,最终导致以 Web 服务用户身份执行任意代码。

CVSS 8.8 · High

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
craftcms cms 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-112773

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 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection
Source: CVE Program / CVE List V5
Vulnerability Description
Craft CMS from 5.0.0 before 5.11.0 contains a remote code execution vulnerability that allows authenticated Control Panel users to escape the Twig sandbox by passing uncleansed criteria to getNext, getPrev, or getOwners. Attackers can inject Yii "as" or "on" config keys to attach malicious event handlers that execute when the element query runs, achieving code execution as the web user.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/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 5.0.0 ~ 5.11.0 -

II. Public POCs for CVE-2026-112773

# 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-112773

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

Other References for CVE-2026-112773 (2)

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-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-112777 7.2 HIGH Craft CMS before 4.18.8 and 5.11.0 Twig create() Blocklist Bypass Leading to RCE
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-112773

No comments yet


Leave a comment