Bug 2500719 (CVE-2026-48807) - CVE-2026-48807 twig/twig: Twig: Sandbox bypass allows information disclosure
Summary: CVE-2026-48807 twig/twig: Twig: Sandbox bypass allows information disclosure
Keywords:
Status: NEW
Alias: CVE-2026-48807
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2500883 2500887
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-14 22:02 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:02:33 UTC
Twig is a template language for PHP. Prior to 3.27.0, the sandbox __toString() checks do not fully cover Traversable values passed to join and replace filters or operands evaluated by the in and not in operators, allowing contained Stringable objects to be coerced to strings without consulting the sandbox policy. 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.