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.

EPSS: 0.004 (29.5th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

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.