CVE.RADIO
FREN

CVE-2026-46634

twigphp TwigVulnerabilityCVSS 7.7

Twig is a template language for PHP. From 3.9.0 until 3.26.0, template_from_string() compiles an inner template under a synthesized __string_template__ name that can fall outside a SourcePolicyInterface sandbox decision, allowing a sandboxed template that can call template_from_string and include to render an inner template without security policy enforcement. This issue is fixed in version 3.26.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-46634 twigphp Twig Vulnerability

Severity metrics

CVSS 4.0 : 7.7 HIGH · CVSS 3.1 : 9.8 CRITICAL

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

Vector: AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/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-25 · source: NVD