Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-48807
VULNERABILITY

CVE-2026-48807

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
7.1
Severity
HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Jul 14, 2026 22:17
Modified
Oct 24, 2026 22:10
Last observed
Oct 24, 2026 23:20

CWE

CWE-693CWE-863

Affected product identifiers

cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*

References