Evidence used
- No CISA KEV confirmation is currently recorded.
- EPSS is 0.76% for the current model date.
BlackTreeCVE Intelligencetwigphp · Twig
Official source article: GitHub GHSA-2Q52-X2FF-QGFR ↗. Check the applicable product and release in the original source.
High technical severity; prioritise exposed affected systems while verifying vendor guidance.
Debian findings are scoped to the named distribution, release and source package. An absent finding does not mean a package is unaffected.
A published vendor fix does not prove that a matching update is enabled and installable on a particular asset. Confirm the local package candidate before scheduling remediation.
| Distribution release | Source package | Vendor state | Fixed version | Evidence |
|---|---|---|---|---|
| Debian trixietrixie · source | php-twig | Vendor fix publishedDebian records a fixed source-package version for this release. | 3.27.0-0+deb13u1 | Debian Security Tracker ↗Source updated 5 Oct 2026 |
| Debian bookwormbookworm · source | php-twig | Not affectedDebian marks this release not affected (fixed-version marker 0). | Not published in this feed | Debian Security Tracker ↗Source updated 5 Oct 2026 |
| Debian forkyforky · source | php-twig | Vendor fix publishedDebian records a fixed source-package version for this release. | 3.26.0-1 | Debian Security Tracker ↗Source updated 5 Oct 2026 |
| Debian sidsid · source | php-twig | Vendor fix publishedDebian records a fixed source-package version for this release. | 3.26.0-1 | Debian Security Tracker ↗Source updated 5 Oct 2026 |
These OSV and GitHub advisory ranges apply only to the named package and ecosystem. A listed fixed version is not a universal product patch or proof that an update is installed.
| Ecosystem and package | Affected range | First fixed version | Evidence |
|---|---|---|---|
| Packagisttwig/twig | ECOSYSTEM: introduced 2.16.0; last affected 2.16.1 | Not stated | OSV record ↗aggregator derived · 10 Sep 2026 |
| Packagisttwig/twig | ECOSYSTEM: introduced 3.9.0; fixed 3.26.0 | 3.26.0 | OSV record ↗aggregator derived · 10 Sep 2026 |
| composertwig/twig | >= 2.16.0, <= 2.16.1 | Not stated | GitHub advisory ↗upstream repository advisory · 5 Jun 2026 |
| composertwig/twig | >= 3.9.0, < 3.26.0 | 3.26.0 | GitHub advisory ↗upstream repository advisory · 5 Jun 2026 |
High technical severity; prioritise exposed affected systems while verifying vendor guidance.
Fix not verifiedTwig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and reduce filters. Attackers can exploit the runtime check that fails to use the current template source to bypass sandbox restrictions and execute arbitrary code when the sandbox is enabled through a source policy rather than globally.
Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and reduce filters. Attackers can exploit the runtime check that fails to use the current template source to bypass sandbox restrictions and execute arbitrary code when the sandbox is enabled through a source policy rather than globally.
The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.
An attacker operating through a network path may attempt exploitation with low privileges. If successful, the issue may execute code or commands in the affected security context.
Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and reduce filters. Attackers can exploit the runtime check that fails to use the current template source to bypass sandbox restrictions and execute arbitrary code when the sandbox is enabled through a source policy rather than globally.
The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.
An attacker operating through a network path may attempt exploitation with low privileges. If successful, the issue may execute code or commands in the affected security context.
CVSS severity, EPSS forecast probability, public exploit material and CISA-confirmed exploitation are separate signals.
No CISA KEV match was present at the last successful refresh. This means no confirmation from that source, not proof of no exploitation.
No exploit-tagged reference or CISA SSVC proof-of-concept state is currently recorded. Research may still exist outside the structured feeds.
CWE-693: Protection Mechanism Failure. The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NCommon Vulnerability Scoring System 4.0: the compact vector below is decoded into plain language.
Operational remediation based on structured source evidence.
Published 20 May 2026 · Last source change 14 Jul 2026, 15:53 UTC · CWE-693 · Protection Mechanism Failure
Core structured fields are present and their contributing authorities are shown above.
No material field changes have been recorded since change tracking began. Routine source refreshes and cosmetic edits are intentionally excluded.