---
cve: "CVE-2026-72781"
severity: "HIGH"
cvss: 8.7
epss: "54%"
vendor: "craftcms"
kev: false
exploited: false
published: "2026-08-11 13:19:08"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-15T09:27:51+02:00"
---

# CVE-2026-72781

> 8.7 HIGH · 🧪 PoC

## Beschreibung

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().

## CVSS-Vektor

```
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- 6a08356668f772f0a4d79769d3de83508cd4e21c (Commit)
- a65e9f5b33801cd89d859cee78573fd04df1ed57 (Commit)

## Referenzen

- <https://github.com/craftcms/cms/security/advisories/GHSA-f5wm-88jv-g5hx>
- <https://www.vulncheck.com/advisories/craft-cms-rc1-before-remote-code-execution-via-twig-sandbox-escape>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-72781) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
