CVE-2026-48805
CWE-693Published: July 14, 2026· Updated: Jul 17, 2026
Official Description
Twig is a template language for PHP. Prior to 3.27.0, deprecated internal wrappers in src/Resources/core.php do not forward the current sandbox state to CoreExtension::checkArrow(), arraySome(), and arrayEvery(), allowing legacy calls such as twig_array_some(), twig_array_every(), and twig_check_arrow_in_sandbox() to bypass sandbox callable restrictions. This issue is fixed in version 3.27.0.
Risk Analysis
This critical vulnerability in Twig, a PHP template language, allows an attacker to bypass sandbox callable restrictions due to deprecated internal wrappers not forwarding the current sandbox state. This could lead to high impact on confidentiality and integrity. The CVSS score of 9.1 highlights its severity, but there is no confirmed exploitation in the wild or EPSS score to indicate immediate exploitation likelihood.
No public exploit is currently known for this vulnerability. The CVSS vector indicates it is remotely exploitable without user interaction.
Upgrade Twig to version 3.27.0 or later to resolve this issue. Ensure all PHP applications using Twig are updated to the latest secure versions.
Technical Analysis
CVE-2026-48805 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), with a CVSS base score of 9.1.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (3)
Quick Facts
Related CVEs (CWE-693)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-48805 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts