CVE-2026-46640
high
CVSS v3
—
CVSS v2
—
VIR risk
8.0
Description
Twig: Arbitrary PHP code execution via `_self.(<string>)` macro-reference compilation
Predictions
Exploit likelihood
20%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2026-46640
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 0 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 3.26.0-1 |
| debian | sid | fixed | 3.26.0-1 |
| debian | trixie | affected | |
References
- https://symfony.com/cve-2026-46640
- https://github.com/twigphp/Twig/security/advisories/GHSA-45vw-wh46-2vx8
- https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2026-46640.yaml
- https://github.com/twigphp/Twig
- https://security-tracker.debian.org/tracker/CVE-2026-46640
- https://github.com/advisories/GHSA-45vw-wh46-2vx8
Verify integrity in audit chain (admin only). AS-IS.