Bug 2500751 (CVE-2026-46638) - CVE-2026-46638 twig/twig: Twig: Security bypass allows unauthorized template execution
Summary: CVE-2026-46638 twig/twig: Twig: Security bypass allows unauthorized template ...
Keywords:
Status: NEW
Alias: CVE-2026-46638
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2500872 2500875
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-14 22:04 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:04:38 UTC
Twig is a template language for PHP. Prior to 3.26.0, {% sandbox %}{% include %} can include a template that was previously loaded outside the sandbox without re-invoking checkSecurity(), allowing the cached template to use tags, filters, and functions that should have been denied by SecurityPolicy::checkSecurity(). This issue is fixed in version 3.26.0.


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