CVE-2026-46633
Description
Twig: PHP code injection via `{% use %}` template name
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-46633 NameCVE-2026-46633 SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) ReferencesDSA-6311-1 Vulnerable and fixed packages The table below lists information on source packages. Source PackageReleaseVersionStatus php-twig (PTS)bullseye2.14.3-1+deb11u2vulnerable bullseye…
CVE-2026-46633
| Name | CVE-2026-46633 |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6311-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| php-twig (PTS) | bullseye | 2.14.3-1+deb11u2 | vulnerable |
| bullseye (security) | 2.14.3-1+deb11u4 | vulnerable | |
| bookworm, bookworm (security) | 3.5.1-1+deb12u1 | vulnerable | |
| trixie | 3.20.0-2 | vulnerable | |
| trixie (security) | 3.27.0-0+deb13u1 | fixed | |
| forky | 3.27.0-1 | fixed | |
| sid | 3.27.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| php-twig | source | trixie | 3.27.0-0+deb13u1 | DSA-6311-1 | ||
| php-twig | source | (unstable) | 3.26.0-1 |
Notes
https://symfony.com/blog/cve-2026-46633-php-code-injection-via-use-template-name
Apply commands
https://symfony.com/blog/cve-2026-46633-php-code-injection-via-use-template-name
OS impact
Debian Mixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 3.27.0-0+deb13u1 |
| sid | Fixed | 3.26.0-1 |
| forky | Fixed | 3.26.0-1 |
| bullseye | Affected | — |
| bookworm | Fixed | 3.5.1-1+deb12u3 |
References
- https://symfony.com/cve-2026-46633
- https://github.com/twigphp/Twig/security/advisories/GHSA-7p85-w9px-jpjp
- https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2026-46633.yaml
- https://github.com/twigphp/Twig
- https://security-tracker.debian.org/tracker/CVE-2026-46633
- https://github.com/advisories/GHSA-7p85-w9px-jpjp
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.