Twig: Sandbox filter, tag and function allow-list bypass when sandbox state changes between renders for a cached `Tem...

Date Jul 1, 2026
Type Vendor advisory
Signal High-risk advisory
Vendor / Product Composer ยท twig/twig
CVE CVE-2026-49981
High-risk advisory CVE-2026-49981

Summary

Twig: Sandbox filter, tag and function allow-list bypass when sandbox state changes between renders for a cached `Template`

Why it matters

GitHub has published a reviewed security advisory for twig/twig. Prioritize it with other application dependency updates.

Operator check

Check whether twig/twig is present in application dependency manifests, lockfiles, or build images. Review the GitHub advisory and upgrade to a patched version where available. CVSS score: 8.7.

Sources

PatchBrief uses public sources. It does not scan environments, verify exposure, or replace vendor guidance.