Technology · Packagist
twig/twig (Packagist) vulnerabilities
Updated . Rebuilt every hour.
Junglewise Threat Intelligence has tracked 24 vulnerabilities in twig/twig (Packagist): 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.
- Last 7 days
- 0
- Last 90 days
- 0
- Critical, all time
- 1
- Exploited in the wild
- 0
About twig/twig (Packagist)
A flexible, fast, and secure template engine for the PHP programming language.
Latest twig/twig (Packagist) vulnerabilities
- CVE-2026-49981: Twig sandbox allow-list bypass via template cache reusehighCVSS 4EPSS 0.4%
- CVE-2026-48808: Twig sandbox bypass in column filter via SourcePolicyInterfacemediumCVSS 0EPSS 0.4%
- CVE-2026-48807: Twig sandbox policy bypass via Traversable objects in filters and operatorsmediumCVSS 0EPSS 0.4%
- CVE-2026-48806: Twig sandbox policy bypass via dynamic mapping keysmediumCVSS 5.3EPSS 0.4%
- CVE-2026-48805: Twig sandbox bypass in deprecated internal wrapperslowCVSS 0EPSS 0.5%
- CVE-2026-47732: Twig sandbox policy bypass via unguarded string coercionhighCVSS 0EPSS 0.4%
- CVE-2026-47730: Twig XSS in Profiler HtmlDumperlowCVSS 0EPSS 0.3%
- CVE-2026-46640: Twig PHP code injection in macro-reference compilationhighCVSS 4EPSS 0.6%
- CVE-2026-46639: Twig sandbox bypass in object-destructuring assignmenthighCVSS 4EPSS 0.4%
- CVE-2026-46638: Twig sandbox bypass in cached template inclusionmediumCVSS 4EPSS 0.5%
- CVE-2026-46635: Twig sandbox property allowlist bypass in column filtermediumCVSS 4EPSS 0.3%
- CVE-2026-46634: Twig sandbox bypass via template_from_string in SourcePolicyInterfacemediumCVSS 0EPSS 0.6%
- CVE-2026-46633: Twig PHP code injection via use tag template namecriticalCVSS 4EPSS 0.7%
- CVE-2026-46628: Twig XSS via incorrect autoescaping in spaceless filtermediumCVSS 4EPSS 0.3%
- CVE-2026-24425: Twig PHP sandbox bypass in SourcePolicyInterfacehighCVSS 8.8EPSS 0.8%
- CVE-2025-24374: Twig security issue where escaping was missing when using null coalesce operatorlowCVSS 3.1EPSS 0.3%
- CVE-2024-51755: Twig has unguarded calls to `__isset()` and to array-accesses when the sandbox is enabledlowCVSS 3.1EPSS 0.4%
- CVE-2024-51754: Twig has unguarded calls to `__toString()` when nesting an object into an arraylowCVSS 3.1EPSS 0.4%
- CVE-2024-45411: Twig has a possible sandbox bypasslowCVSS 3.1EPSS 0.9%
- Twig Path Traversal vulnerability in the filesystem loaderlowCVSS 3.1
- CVE-2022-39261: Twig may load a template outside a configured directory when using the filesystem loaderlowCVSS 3.1EPSS 3.1%
- CVE-2015-7809: Twig remote code execution in templateslowCVSS 3.1EPSS 3.4%
- CVE-2019-9942: Twig Sandbox Information DisclosurelowCVSS 3.1EPSS 1.4%
- CVE-2022-23614: Code injection in TwiglowCVSS 3.1EPSS 8.2%
Most severe twig/twig (Packagist) vulnerabilities
Exploited in the wild first, then by severity and CVSS score.
- CVE-2026-46633: Twig PHP code injection via use tag template namecriticalCVSS 4EPSS 0.7%
- CVE-2026-24425: Twig PHP sandbox bypass in SourcePolicyInterfacehighCVSS 8.8EPSS 0.8%
- CVE-2026-46640: Twig PHP code injection in macro-reference compilationhighCVSS 4EPSS 0.6%
- CVE-2026-46639: Twig sandbox bypass in object-destructuring assignmenthighCVSS 4EPSS 0.4%
- CVE-2026-49981: Twig sandbox allow-list bypass via template cache reusehighCVSS 4EPSS 0.4%
- CVE-2026-47732: Twig sandbox policy bypass via unguarded string coercionhighCVSS 0EPSS 0.4%
- CVE-2026-48806: Twig sandbox policy bypass via dynamic mapping keysmediumCVSS 5.3EPSS 0.4%
- CVE-2026-46638: Twig sandbox bypass in cached template inclusionmediumCVSS 4EPSS 0.5%
- CVE-2026-46635: Twig sandbox property allowlist bypass in column filtermediumCVSS 4EPSS 0.3%
- CVE-2026-46628: Twig XSS via incorrect autoescaping in spaceless filtermediumCVSS 4EPSS 0.3%
Vulnerabilities per week
Nothing was published in the last eight weeks. The last 13 weeks, by the week each vulnerability was published.
| Week of | Bar | Vulns | Critical |
|---|---|---|---|
| 17 Aug 2026 | 0 | 0 | |
| 24 Aug 2026 | 0 | 0 | |
| 31 Aug 2026 | 0 | 0 | |
| 7 Sep 2026 | 0 | 0 | |
| 14 Sep 2026 | 0 | 0 | |
| 21 Sep 2026 | 0 | 0 | |
| 28 Sep 2026 | 0 | 0 | |
| 5 Oct 2026 | 0 | 0 | |
| 12 Oct 2026 | 0 | 0 | |
| 19 Oct 2026 | 0 | 0 | |
| 26 Oct 2026 | 0 | 0 | |
| 2 Nov 2026 | 0 | 0 | |
| 9 Nov 2026 | 0 | 0 |
Embed a badge
A live badge for a README, a status page or an internal wiki: how many twig/twig (Packagist) vulnerabilities were published in the last 7 days and how many of them are critical, refreshed hourly.
[](https://junglewise.ai/threats/technologies/twig-twig)<a href="https://junglewise.ai/threats/technologies/twig-twig"><img src="https://junglewise.ai/threats/technologies/twig-twig/badge.svg" alt="twig/twig (Packagist) vulnerabilities" /></a>How this is built
Junglewise Threat Intelligence collects vulnerabilities from NVD, GitHub Security Advisories, OSV, the CISA Known Exploited Vulnerabilities catalog, FIRST EPSS and vendor advisories, and matches each one to the technologies and vendors it affects. Dates are the date a vulnerability was published, in UTC.
The pages are rebuilt from the database every hour. Frozen weekly and monthly reports never change once published, so they can be cited.
Use this data
The same data is at https://junglewise.ai/threats/technologies/twig-twig.json, and this page as text at https://junglewise.ai/threats/technologies/twig-twig.md, for scripts and language models. It is free to reuse under CC BY 4.0 with a link back to this page.
Cite as: Junglewise Threat Intelligence, "twig/twig (Packagist) vulnerabilities", https://junglewise.ai/threats/technologies/twig-twig, 9 November 2026.