TW
Product
Twig
by twigphp · last CVE Sep 4, 2026
20
CVEs
0
On KEV
9.9
Max CVSS
0
New 30D
Severity mix
Critical 6High 6Medium 8Low 0
Watch

Add Twig to your stack to get only the CVEs that touch what you run.

CVECVSSEPSSPublishedSummary · affected versions
CVE-2026-24425
9.9
1%
May 20
Twig 2.16.x & 3.9.0-3.25.x Sandbox Bypass via SourcePolicyInterface
Affected: 3.9.0 before 3.26.0; 2.16.*
CVE-2026-46634
9.8
1%
Jul 14
Twig: `template_from_string()` escapes a SourcePolicy-driven sandbox via synthesized template name
Affected: >= 3.9.0, < 3.26.0
CVE-2026-46633
9.8
1%
Jul 14
Twig: PHP code injection via `{% use %}` template name
Affected: < 3.26.0
CVE-2026-48807
9.1
0%
Jul 14
Twig: Sandbox `__toString()` policy bypass via `Traversable` in `join` and `replace` filters
Affected: < 3.27.0
CVE-2026-48806
9.1
0%
Jul 14
Twig: Sandbox `__toString()` policy bypass via dynamic mapping keys
Affected: < 3.27.0
CVE-2026-48805
9.1
0%
Jul 14
Twig: Sandbox state regression in deprecated internal wrappers in `src/Resources/core.php`
Affected: < 3.27.0
CVE-2026-46640
8.8
1%
Jul 14
Twig: Arbitrary PHP code execution via `_self.(<string>)` macro-reference compilation
Affected: >= 3.15.0, < 3.26.0
CVE-2026-46636
8.7
1%
Sep 4
Twig: Sandbox method allowlist bypass via `Markup` subclass
Affected: >= 1.0.0, < 3.27.0
CVE-2024-45411
8.6
1%
Sep 9
Twig has a possible sandbox bypass
Affected: > 1.0.0, < 1.44.8; > 2.0.0, < 2.16.1; > 3.0.0, < 3.14.0
CVE-2026-49981
8.2
0%
Jul 14
Twig: Sandbox filter, tag and function allow-list bypass when sandbox state changes between renders for a cached `Template`
Affected: < 3.27.0
CVE-2026-46638
8.1
0%
Jul 14
Twig: `{% sandbox %}{% include %}` skips checkSecurity() on cached templates (incomplete fix for CVE-2024-45411)
Affected: < 3.26.0
CVE-2026-48808
7.5
0%
Jul 14
Twig: Sandbox property allowlist bypass via the `column` filter under `SourcePolicyInterface`
Affected: < 3.27.0
CVE-2026-46629
6.5
1%
Jul 14
Twig: Unbounded formatter memoisation in twig/intl-extra keyed on template-controlled arguments
Affected: < 3.26.0
CVE-2026-46627
6.5
1%
Jul 14
Twig: Sandbox resource exhaustion via unbounded `for` / `range()`
Affected: < 3.26.0
CVE-2026-46639
6.5
0%
Jul 14
Twig: Sandbox property and method bypass via object-destructuring assignment
Affected: >= 3.24.0, < 3.26.0
CVE-2026-47732
6.5
0%
Jul 14
Twig Sandbox: multiple `__toString()` policy bypasses via unguarded string coercion points
Affected: < 3.26.0
CVE-2026-46637
5.4
0%
Jul 14
Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe => ['all']`
Affected: < 3.26.0
CVE-2026-47730
5.4
0%
Jul 14
Twig: XSS in profiler HtmlDumper via unescaped template and profile names
Affected: >= 3.0.0, < 3.26.0
CVE-2026-46628
5.4
0%
Jul 14
Twig: The `spaceless` filter implicitly marks its output as safe
Affected: < 3.26.0
CVE-2026-46635
4.3
0%
Jul 14
Twig: Sandbox property allowlist bypass via the `column` filter (array_column on objects)
Affected: < 3.26.0
Showing 20