CVE-2026-48808

HIGH

Twig: Sandbox property allowlist bypass via the `column` filter under `SourcePolicyInterface`

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 7.5
EPSS 0.0024
EPSS Percentile 15.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-693 CWE-863
Status published
Products (2)
symfony/twig < 3.27.0
twigphp/Twig < 3.27.0
Published Jul 14, 2026
Tracked Since Jul 15, 2026