Bug 2500738 (CVE-2026-48805) - CVE-2026-48805 twig/twig: Twig: Sandbox bypass vulnerability via deprecated internal wrappers
Summary: CVE-2026-48805 twig/twig: Twig: Sandbox bypass vulnerability via deprecated i...
Keywords:
Status: NEW
Alias: CVE-2026-48805
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2500876 2500879
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-14 22:03 UTC by OSIDB Bzimport
Modified: 2026-07-15 11:42 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-14 22:03:40 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.