Twig
33 CVEs tracked. None of them is in CISA KEV.
This hub aggregates every CVE we track for Twig, a product in the oss libraries space. Use it to gauge the current risk picture and drill into individual advisories.
Twig CVEs per month
| Month | CVEs |
|---|---|
| 2024-10 | 0 |
| 2024-11 | 2 |
| 2024-12 | 0 |
| 2025-01 | 1 |
| 2025-02 | 0 |
| 2025-03 | 0 |
| 2025-04 | 0 |
| 2025-05 | 0 |
| 2025-06 | 0 |
| 2025-07 | 0 |
| 2025-08 | 0 |
| 2025-09 | 0 |
| 2025-10 | 0 |
| 2025-11 | 0 |
| 2025-12 | 0 |
| 2026-01 | 0 |
| 2026-02 | 0 |
| 2026-03 | 0 |
| 2026-04 | 0 |
| 2026-05 | 1 |
| 2026-06 | 0 |
| 2026-07 | 17 |
| 2026-08 | 0 |
| 2026-09 | 1 |
Severity
How the 33 CVEs score on CVSS. Severity is not exploitation: KEV is counted above.
- Critical6
- High12
- Medium11
- Low3
Latest CVEs
The 15 most recently published vulnerabilities affecting Twig.
- CVE-2026-46636Twig: Sandbox method allowlist bypass via `Markup` subclass—
- CVE-2026-48807Twig: Sandbox `__toString()` policy bypass via `Traversable` in `join` and `replace` filters9.1
- CVE-2026-48806Twig: Sandbox `__toString()` policy bypass via dynamic mapping keys9.1
- CVE-2026-48808Twig: Sandbox property allowlist bypass via the `column` filter under `SourcePolicyInterface`7.5
- CVE-2026-48805Twig: Sandbox state regression in deprecated internal wrappers in `src/Resources/core.php`9.1
- CVE-2026-49981Twig: Sandbox filter, tag and function allow-list bypass when sandbox state changes between renders for a cached `Template`8.2
- CVE-2026-46637Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe => ['all']`5.4
- CVE-2026-46638Twig: `{% sandbox %}{% include %}` skips checkSecurity() on cached templates (incomplete fix for CVE-2024-45411)8.1
- CVE-2026-46640Twig: Arbitrary PHP code execution via `_self.(<string>)` macro-reference compilation8.8
- CVE-2026-46629Twig: Unbounded formatter memoisation in twig/intl-extra keyed on template-controlled arguments6.5
- CVE-2026-47730Twig: XSS in profiler HtmlDumper via unescaped template and profile names5.4
- CVE-2026-46628Twig: The `spaceless` filter implicitly marks its output as safe5.4
- CVE-2026-46634Twig: `template_from_string()` escapes a SourcePolicy-driven sandbox via synthesized template name9.8
- CVE-2026-46627Twig: Sandbox resource exhaustion via unbounded `for` / `range()`6.5
- CVE-2026-46633Twig: PHP code injection via `{% use %}` template name9.8
Product grouping is registry-driven, with AI assist and human review. How it works