# Twig PHP vulnerabilities

Source: https://junglewise.ai/threats/vendors/twig-php  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Updated: 9 November 2026, 03:07 UTC. Rebuilt every hour.  
Data: https://junglewise.ai/threats/vendors/twig-php.json  
License: CC BY 4.0 with a link back

Junglewise Threat Intelligence has tracked 18 vulnerabilities in Twig PHP: 0 in the last 7 days and 0 in the last 90 days, 1 of them critical and 0 exploited in the wild. The most recent, CVE-2026-49981, was published on 14 July 2026. 1 technology has a page of its own.

## Counts

- Last 7 days: 0
- Last 30 days: 0
- Last 90 days: 0
- All time: 18 (1 critical, 0 exploited in the wild)

## About Twig PHP

Twig PHP is the organization responsible for the development of the Twig template engine.

## Latest Twig PHP vulnerabilities

- [CVE-2026-49981: Twig sandbox allow-list bypass via template cache reuse](https://junglewise.ai/threats/cve-2026-49981-twig-sandbox-allow-list-bypass-via-template-cache-reuse) (high, CVSS 4, published 14 Jul 2026)
- [CVE-2026-48808: Twig sandbox bypass in column filter via SourcePolicyInterface](https://junglewise.ai/threats/cve-2026-48808-twig-sandbox-bypass-in-column-filter-via-sourcepolicyinterface) (medium, CVSS 0, published 14 Jul 2026)
- [CVE-2026-48807: Twig sandbox policy bypass via Traversable objects in filters and operators](https://junglewise.ai/threats/cve-2026-48807-twig-sandbox-policy-bypass-via-traversable-objects-in-filters-and) (medium, CVSS 0, published 14 Jul 2026)
- [CVE-2026-48806: Twig sandbox policy bypass via dynamic mapping keys](https://junglewise.ai/threats/cve-2026-48806-twig-sandbox-policy-bypass-via-dynamic-mapping-keys) (medium, CVSS 5.3, published 14 Jul 2026)
- [CVE-2026-48805: Twig sandbox bypass in deprecated internal wrappers](https://junglewise.ai/threats/cve-2026-48805-twig-sandbox-bypass-in-deprecated-internal-wrappers) (low, CVSS 0, published 14 Jul 2026)
- [CVE-2026-47732: Twig sandbox policy bypass via unguarded string coercion](https://junglewise.ai/threats/cve-2026-47732-twig-sandbox-policy-bypass-via-unguarded-string-coercion) (high, CVSS 0, published 14 Jul 2026)
- [CVE-2026-47730: Twig XSS in Profiler HtmlDumper](https://junglewise.ai/threats/cve-2026-47730-twig-xss-in-profiler-htmldumper) (low, CVSS 0, published 14 Jul 2026)
- [CVE-2026-46640: Twig PHP code injection in macro-reference compilation](https://junglewise.ai/threats/cve-2026-46640-twig-php-code-injection-in-macro-reference-compilation) (high, CVSS 4, published 14 Jul 2026)
- [CVE-2026-46639: Twig sandbox bypass in object-destructuring assignment](https://junglewise.ai/threats/cve-2026-46639-twig-sandbox-bypass-in-object-destructuring-assignment) (high, CVSS 4, published 14 Jul 2026)
- [CVE-2026-46638: Twig sandbox bypass in cached template inclusion](https://junglewise.ai/threats/cve-2026-46638-twig-sandbox-bypass-in-cached-template-inclusion) (medium, CVSS 4, published 14 Jul 2026)
- [CVE-2026-46637: Twig XSS in markdown-extra and cssinliner-extra filters](https://junglewise.ai/threats/cve-2026-46637-twig-xss-in-markdown-extra-and-cssinliner-extra-filters) (medium, CVSS 4, published 14 Jul 2026)
- [CVE-2026-46635: Twig sandbox property allowlist bypass in column filter](https://junglewise.ai/threats/cve-2026-46635-twig-sandbox-property-allowlist-bypass-in-column-filter) (medium, CVSS 4, published 14 Jul 2026)
- [CVE-2026-46634: Twig sandbox bypass via template_from_string in SourcePolicyInterface](https://junglewise.ai/threats/cve-2026-46634-twig-sandbox-bypass-via-template-from-string-in) (medium, CVSS 0, published 14 Jul 2026)
- [CVE-2026-46633: Twig PHP code injection via use tag template name](https://junglewise.ai/threats/cve-2026-46633-twig-php-code-injection-via-use-tag-template-name) (critical, CVSS 4, published 14 Jul 2026)
- [CVE-2026-46629: Twig resource exhaustion via unbounded memoization in intl-extra](https://junglewise.ai/threats/cve-2026-46629-twig-resource-exhaustion-via-unbounded-memoization-in-intl-extra) (medium, CVSS 4, published 14 Jul 2026)
- [CVE-2026-46628: Twig XSS via incorrect autoescaping in spaceless filter](https://junglewise.ai/threats/cve-2026-46628-twig-xss-via-incorrect-autoescaping-in-spaceless-filter) (medium, CVSS 4, published 14 Jul 2026)
- [CVE-2026-46627: Twig resource exhaustion in sandbox mode](https://junglewise.ai/threats/cve-2026-46627-twig-resource-exhaustion-in-sandbox-mode) (info, CVSS 7.1, published 14 Jul 2026)
- [CVE-2026-24425: Twig PHP sandbox bypass in SourcePolicyInterface](https://junglewise.ai/threats/cve-2026-24425-twig-php-sandbox-bypass-in-sourcepolicyinterface) (high, CVSS 8.8, published 20 May 2026)

## Most severe Twig PHP vulnerabilities

- [CVE-2026-46633: Twig PHP code injection via use tag template name](https://junglewise.ai/threats/cve-2026-46633-twig-php-code-injection-via-use-tag-template-name) (critical, CVSS 4, published 14 Jul 2026)
- [CVE-2026-24425: Twig PHP sandbox bypass in SourcePolicyInterface](https://junglewise.ai/threats/cve-2026-24425-twig-php-sandbox-bypass-in-sourcepolicyinterface) (high, CVSS 8.8, published 20 May 2026)
- [CVE-2026-46640: Twig PHP code injection in macro-reference compilation](https://junglewise.ai/threats/cve-2026-46640-twig-php-code-injection-in-macro-reference-compilation) (high, CVSS 4, published 14 Jul 2026)
- [CVE-2026-46639: Twig sandbox bypass in object-destructuring assignment](https://junglewise.ai/threats/cve-2026-46639-twig-sandbox-bypass-in-object-destructuring-assignment) (high, CVSS 4, published 14 Jul 2026)
- [CVE-2026-49981: Twig sandbox allow-list bypass via template cache reuse](https://junglewise.ai/threats/cve-2026-49981-twig-sandbox-allow-list-bypass-via-template-cache-reuse) (high, CVSS 4, published 14 Jul 2026)
- [CVE-2026-47732: Twig sandbox policy bypass via unguarded string coercion](https://junglewise.ai/threats/cve-2026-47732-twig-sandbox-policy-bypass-via-unguarded-string-coercion) (high, CVSS 0, published 14 Jul 2026)
- [CVE-2026-48806: Twig sandbox policy bypass via dynamic mapping keys](https://junglewise.ai/threats/cve-2026-48806-twig-sandbox-policy-bypass-via-dynamic-mapping-keys) (medium, CVSS 5.3, published 14 Jul 2026)
- [CVE-2026-46629: Twig resource exhaustion via unbounded memoization in intl-extra](https://junglewise.ai/threats/cve-2026-46629-twig-resource-exhaustion-via-unbounded-memoization-in-intl-extra) (medium, CVSS 4, published 14 Jul 2026)
- [CVE-2026-46638: Twig sandbox bypass in cached template inclusion](https://junglewise.ai/threats/cve-2026-46638-twig-sandbox-bypass-in-cached-template-inclusion) (medium, CVSS 4, published 14 Jul 2026)
- [CVE-2026-46635: Twig sandbox property allowlist bypass in column filter](https://junglewise.ai/threats/cve-2026-46635-twig-sandbox-property-allowlist-bypass-in-column-filter) (medium, CVSS 4, published 14 Jul 2026)

## Vulnerabilities per week

Nothing was published in the last eight weeks.

| Week of | Vulns | Critical | Exploited |
| --- | --- | --- | --- |
| 17 Aug 2026 | 0 | 0 | 0 |
| 24 Aug 2026 | 0 | 0 | 0 |
| 31 Aug 2026 | 0 | 0 | 0 |
| 7 Sep 2026 | 0 | 0 | 0 |
| 14 Sep 2026 | 0 | 0 | 0 |
| 21 Sep 2026 | 0 | 0 | 0 |
| 28 Sep 2026 | 0 | 0 | 0 |
| 5 Oct 2026 | 0 | 0 | 0 |
| 12 Oct 2026 | 0 | 0 | 0 |
| 19 Oct 2026 | 0 | 0 | 0 |
| 26 Oct 2026 | 0 | 0 | 0 |
| 2 Nov 2026 | 0 | 0 | 0 |
| 9 Nov 2026 | 0 | 0 | 0 |

## Twig PHP technologies

- [Twig PHP Twig](https://junglewise.ai/threats/technologies/twig): 18 vulnerabilities

## Sources

NVD, GitHub Security Advisories, OSV, the CISA Known Exploited Vulnerabilities catalog, FIRST EPSS and vendor advisories. Rebuilt every hour. Cite as: Junglewise Threat Intelligence, "Twig PHP vulnerabilities", https://junglewise.ai/threats/vendors/twig-php, 9 November 2026.
