Craft CMS versions >= 5.0.0-RC1 before 5.10.7 and >= 4.0.0-RC1 before 4.18.3 contain a remote code execution vulnerability in the Twig sandbox mechanism. Because Craft marks the ElementInterface as safe (via the AllowedInSandbox attribute) and the sandbox allowlisting extends to the entire class hierarchy (craft\base\Component up to yii\base\Component), an authenticated attacker with permission to access the control panel can render a malicious Twig template that abuses the yii\base\Component arbitrary function-call gadget to execute arbitrary code, even when the Twig sandbox is enabled via enableTwigSandbox().
CVE-2026-72781
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-08-11. A secondary CVSS source baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.8
- EG Score
- 8.8HIGHmedium confidence
- EG Risk
- 40EG Risk 40/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation1% × 40%Automatability0% × 15%CISA SSVC: Track at low or medium mission impact; Track* at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.8%
- EPSS %ILE
- 54th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track* at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
August 11, 2026
Last Modified
September 8, 2026
Advisory Details (2)
Auto-updated Aug 11, 2026Craft CMS 5.0.0-RC1 before 5.10.7 Remote Code Execution via Twig Sandbox Escape | Advisories | VulnCheck
https://www.vulncheck.com/advisories/craft-cms-rc1-before-remote-code-execution-via-twig-sandbox-escapeAuthenticated RCE through Twig sandbox escape · Advisory · craftcms/cms · GitHub
https://github.com/craftcms/cms/security/advisories/GHSA-f5wm-88jv-g5hxVendor Advisories for CVE-2026-72781(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Packagist(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| craftcms/cms | 4.0.0 ... 4.9.7 (253 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 45× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 142 total refreshes for this CVE.
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-03 21:26 UTCEG score recompute
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-02 19:33 UTCEG score recompute
- 2026-10-02 08:44 UTCEG score recompute
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-09-30 22:19 UTCEG score recompute
- 2026-09-29 05:15 UTCEG score recompute
- 2026-09-28 13:52 UTCEPSS rescore
- 2026-09-28 02:20 UTCEG score recompute
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-27 11:01 UTCEG score recompute
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-25 03:56 UTCEG score recompute
- 2026-09-23 21:06 UTCEG score recompute
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-22 21:14 UTCEG score recompute
- 2026-09-21 21:52 UTCEG score recompute
- 2026-09-21 21:09 UTCEPSS rescore
- 2026-09-20 21:15 UTCEG score recompute
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-19 23:15 UTCEG score recompute
- 2026-09-18 22:31 UTCEG score recompute
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 00:48 UTCEG score recompute
Show 75 moreShow fewer
- 2026-09-17 00:35 UTCEG score recompute
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 13:06 UTCEG score recompute
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 09:35 UTCEG score recompute
- 2026-09-15 03:12 UTCEPSS rescore
- 2026-09-13 20:55 UTCEG score recompute
- 2026-09-12 23:16 UTCEG score recompute
- 2026-09-12 15:02 UTCEPSS rescore
- 2026-09-12 01:35 UTCEG score recompute
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 14:44 UTCEG score recompute
- 2026-09-10 17:03 UTCEG score recompute
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-09 07:47 UTCEG score recompute
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 17:03 UTCEG score recompute
- 2026-09-06 22:14 UTCEG score recompute
- 2026-09-06 13:48 UTCEPSS rescore
- 2026-09-06 00:24 UTCEG score recompute
- 2026-09-04 14:16 UTCEG score recompute
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-03 01:29 UTCEG score recompute
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-02 00:43 UTCEG score recompute
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 13:28 UTCEG score recompute
- 2026-09-01 13:28 UTCGHSA enrichment
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 21:56 UTCGHSA enrichment
- 2026-08-31 05:20 UTCEG score recompute
- 2026-08-31 05:20 UTCGHSA enrichment
- 2026-08-30 19:18 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 18:30 UTCGHSA enrichment
- 2026-08-30 07:40 UTCEG score recompute
- 2026-08-30 07:40 UTCGHSA enrichment
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 20:51 UTCGHSA enrichment
- 2026-08-29 09:42 UTCEG score recompute
- 2026-08-29 09:42 UTCGHSA enrichment
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-28 11:13 UTCGHSA enrichment
- 2026-08-27 22:41 UTCEG score recompute
- 2026-08-27 22:41 UTCGHSA enrichment
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-27 11:52 UTCGHSA enrichment
- 2026-08-27 01:02 UTCEG score recompute
- 2026-08-27 01:02 UTCGHSA enrichment
- 2026-08-26 14:47 UTCEPSS rescore
- 2026-08-26 14:12 UTCGHSA enrichment
- 2026-08-26 03:21 UTCGHSA enrichment
- 2026-08-25 16:31 UTCEG score recompute
- 2026-08-25 16:31 UTCGHSA enrichment
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 05:42 UTCGHSA enrichment
- 2026-08-24 18:52 UTCEG score recompute
- 2026-08-24 18:52 UTCGHSA enrichment
- 2026-08-24 08:02 UTCGHSA enrichment
- 2026-08-23 21:12 UTCGHSA enrichment
- 2026-08-23 10:22 UTCEG score recompute
- 2026-08-23 10:22 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 23:22 UTCGHSA enrichment
- 2026-08-22 12:32 UTCGHSA enrichment
- 2026-08-22 01:43 UTCEG score recompute
- 2026-08-22 01:43 UTCGHSA enrichment
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 14:53 UTCGHSA enrichment
- 2026-08-21 04:03 UTCEG score recompute
- 2026-08-21 04:03 UTCGHSA enrichment
- 2026-08-20 22:56 UTCEPSS rescore
- 2026-08-20 17:14 UTCGHSA enrichment
- 2026-08-20 06:17 UTCGHSA enrichment
Related CVEs(same product + same CWE)
Same product
10 shownPackagist:craftcms/cms
- CVE-2025-32432EG 10.0 KEVEPSS p100CRITICAL
- CVE-2026-32267EG 9.8CRITICAL
- CVE-2024-56145EG 9.8 KEVEPSS p100CRITICAL
- CVE-2024-37843EG 9.8EPSS p99CRITICAL
- CVE-2023-41892EG 9.8EPSS p100CRITICAL
- CVE-2021-27903EG 9.8CRITICAL
- CVE-2019-15929EG 9.8CRITICAL
- CVE-2026-28783EG 9.1CRITICAL
- CVE-2026-28697EG 9.1CRITICAL
- CVE-2025-68456EG 9.1CRITICAL
Frequently asked(5)
What is CVE-2026-72781?
When was CVE-2026-72781 disclosed?
Is CVE-2026-72781 actively exploited?
What is the CVSS score of CVE-2026-72781?
How do I remediate CVE-2026-72781?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-72781
Is Your Infrastructure Affected by CVE-2026-72781?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.