Auth bypass in Symfony Twig
CVE-2026-48807
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.004 (29.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 29th percentile — 29.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Symfony Twig
- Twigphp Twig — versions < 3.27.0
Weakness classification (CWE)
References
- github.com/twigphp/Twig/security/advisories/GHSA-8x9c-rmqh-456c (Vendor Advisory)
- github.com/twigphp/Twig/releases/tag/v3.27.0 (Release Notes)
Frequently asked questions
- What is CVE-2026-48807?
- CVE-2026-48807 is a critical-severity vulnerability in Symfony Twig, classified under Protection Mechanism Failure. CVSS score: 9.1/10. Published 2026-07-14.
- How severe is CVE-2026-48807?
- Critical severity. CVSS v3 base score is 9.1 out of 10.