CVE Catalog

CVE-2026-48808

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

15th percentile - higher than 15% of all known CVEs

Summary

A vulnerability in the Twig template engine for PHP before version 3.27.0 causes the 'column' filter to pass the sandbox state as a boolean but does not forward the current Source to SandboxExtension::checkPropertyAllowed(), so SourcePolicyInterface decisions are lost and a template author can read public or magic properties not allowed by the sandbox policy.

Risk Assessment

The risk is that a template author can bypass sandbox restrictions and access unauthorized object properties, potentially leading to sensitive data leakage or application integrity compromise.

Recommendation

It is recommended to immediately upgrade the Twig library to version 3.27.0 or later, which includes a fix for this vulnerability.

Other vulnerabilities in Twig

See all
Original NVD description (English source)

Twig is a template language for PHP. Prior to 3.27.0, the column filter passes the active sandbox state as a boolean but does not forward the current Source to SandboxExtension::checkPropertyAllowed(), so SourcePolicyInterface decisions are lost and a template author can read public or magic properties not allowed by the sandbox policy. This issue is fixed in version 3.27.0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS