---
cve: "CVE-2026-46634"
severity: "HIGH"
cvss: 7.7
epss: "42%"
vendor: "twigphp"
kev: false
exploited: false
published: "2026-07-14 22:16:56"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-09T04:14:00+02:00"
---

# CVE-2026-46634

> 7.7 HIGH · 🧪 PoC

## Beschreibung

Twig is a template language for PHP. From 3.9.0 until 3.26.0, template_from_string() compiles an inner template under a synthesized __string_template__ name that can fall outside a SourcePolicyInterface sandbox decision, allowing a sandboxed template that can call template_from_string and include to render an inner template without security policy enforcement. This issue is fixed in version 3.26.0.

## CVSS-Vektor

```
CVSS:4.0/AV:N/AC:L/AT:P/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)

- 1fcae487b180d78e6351f4e0afa91f9eab96a2bc (Commit)
- 1cde8f2b62463f85d47995fc25f8241cb409d915 (Commit)

## Referenzen

- <https://github.com/twigphp/Twig/security/advisories/GHSA-24x9-r6q4-q93w>
- <https://github.com/twigphp/Twig/commit/1cde8f2b62463f85d47995fc25f8241cb409d915>
- <https://github.com/twigphp/Twig/releases/tag/v3.26.0>

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