CVE-2026-49981
High · 8.2CVSS
8.2
EPSS
0.4%
Published
Jul 14, 2026
CISA due date
—
The record
Twig is a template language for PHP. Prior to 3.27.0, the per-template filter, tag, and function allow-list verdict is computed when a Template instance is constructed and can remain cached after sandbox state changes between renders, allowing a later sandboxed render to reuse a template that was originally checked with a different or empty policy. This issue is fixed in version 3.27.0.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-16760 In Trail of Bits fickling through 0.1.12, the _process_import() method in fickle.py adds… CWE-693
- CVE-2026-112348 Kirki plugin for WordPress before 6.2.5 contains a reCAPTCHA bypass vulnerability that… CWE-693
- CVE-2026-110182 PostgreSQL Anonymizer contains a vulnerability related to the anon.partial() and… CWE-693
- CVE-2026-110181 PostgreSQL Anonymizer contains a vulnerability related to anonymization functions defined… CWE-693
- CVE-2026-87878 Linux binaries have executable stack attribute enabled. CWE-693
- CVE-2026-87100 Protection mechanism failure due to missing binary hardening in Linux executables. CWE-693
- CVE-2026-65327 A logic issue was addressed with improved checks. CWE-693
- CVE-2026-116145 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-32 contains a security policy bypass… CWE-693