
CVE catalog
CVE-2026-46639
Twig is a template language for PHP. From 3.24.0 until 3.26.0, object-destructuring assignment compiles CoreExtension::getAttribute() with the sandbox argument hardcoded to false, disabling property a
- Severity
- High · CVSS 7.1
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.39% · Oct 22, 2026
Twig is a template language for PHP. From 3.24.0 until 3.26.0, object-destructuring assignment compiles CoreExtension::getAttribute() with the sandbox argument hardcoded to false, disabling property and method policy checks and allowing an attacker with write access to a sandboxed Twig template to read public properties or invoke public getters on objects passed to the template engine. This issue is fixed in version 3.26.0.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | php-twig | sid | 3.28.0-1 | fixed |
| Debian | php-twig | forky | 3.28.0-1 | fixed |
| Debian | php-twig | trixie | 3.27.0-0+deb13u1 | not affected |
| Debian | php-twig | trixie-security | 3.27.0-0+deb13u1 | not affected |
| Debian | php-twig | bookworm | 3.5.1-1+deb12u3 | not affected |
| Debian | php-twig | bookworm-security | 3.5.1-1+deb12u3 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | php-twig | source | sid | 3.26.0-1 | not yet assigned | Not reported | Not reported |
| Debian | php-twig | source | forky | 3.26.0-1 | not yet assigned | Not reported | Not reported |
| Debian | php-twig | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | php-twig | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [php-twig]Not affected
Details (4)
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
- [php-twig-cache-extra]Not affected
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
- [php-twig-cssinliner-extra]Not affected
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
- [php-twig-doc]Not affected
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
- [php-twig-extra-bundle]Not affected
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
- [php-twig-html-extra]Not affected
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
- [php-twig-inky-extra]Not affected
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
- [php-twig-intl-extra]Not affected
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
- [php-twig-markdown-extra]Not affected
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
- [php-twig-string-extra]Not affected
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookwormNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
3.5.1-1+deb12u3· all · bookworm-securityNot affected
nvd · php-twig · debian · bookworm
Observed: