CVE-2026-48808CWE-693CWE-863

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

Medium · published July 14, 2026

CVSS v4.0
6.0
EPSS
0%
Percentile
33.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.0 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.00407 · 33.9th percentile
Weaknesses
CWE-693 · Protection Mechanism Failure; CWE-863 · Incorrect Authorization
Published
2026-07-14T21:27Z
EPSS history
Timeline
  • 14 JUL 21:27Z
    Twig: Sandbox property allowlist bypass via the `column` filter under `SourcePolicyInterface`
    cvelistv5