CVE.RADIO
FREN

CVE-2026-48806

twigphp TwigVulnerabilityCVSS 7.1

Twig is a template language for PHP. Prior to 3.27.0, ArrayExpression does not guard dynamic mapping keys that are coerced to strings, allowing PHP to invoke __toString() on a Stringable object used as a mapping key without calling SandboxExtension::ensureToStringAllowed(). This issue is fixed in version 3.27.0.

No public exploitation has been reported so far. No distribution fix is listed yet; apply vendor mitigations and monitor.

Recommended action: Track your distribution's security tracker and apply the fix as soon as it ships.

CVE-2026-48806 twigphp Twig Vulnerability

Severity metrics

CVSS 4.0 : 7.1 HIGH · CVSS 3.1 : 9.1 CRITICAL

Attack vectorNetwork (remote)
Attack complexityLow
Attack requirementsNone
Privileges requiredLow
User interactionNone
Confidentiality impactHigh
Integrity impactLow
Availability impactNone
Subsequent confidentialityNone
Subsequent integrityNone
Subsequent availabilityNone

Vector: AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Affected & fixed versions by distribution

Versions are the native distribution strings (backport-aware): RHEL/Debian/SUSE backport fixes, so compare with the distro version comparator (dpkg / rpm / vercmp), not the upstream version.

No affected package in the tracked watchlist yet (Debian, Ubuntu, Arch, SUSE, Red Hat...). Triage may still be pending.

Sources

Published 2026-07-14 · updated 2026-07-26 · source: NVD