CVE-2026-46635

Twig: Sandbox property allowlist bypass via the `column` filter (array_column on objects)

MEDIUM
4.3
CVSS Score
Published: July 14, 2026 at 09:12 PM UTC
Updated: October 24, 2026 at 10:10 PM UTC
2 products affected across 2 vendorsTwigTwig

Using Twig by twigphp?

Get instant alerts when new vulnerabilities affect Twig - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.3
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

Twig is a template language for PHP. Prior to 3.26.0, the column filter passes object arrays to PHP array_column(), which reads public and magic properties without reaching CoreExtension::getAttribute() or SandboxExtension::checkPropertyAllowed(), allowing an untrusted template author with column in allowedFilters to read properties that are not in the sandbox allowlist. This issue is fixed in version 3.26.0.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versionsv < 3.26.0
Affected range stops below 3.26.0, so it looks safe — our inference, not a vendor statement
v < 3.26.0
Affected range stops below 3.26.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_CONFIRMVendor Advisory
Source: cverecord
https://github.com/twigphp/Twig/security/advisories/GHSA-vcc8-phrv-43wj
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/twigphp/Twig/releases/tag/v3.26.0

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-863

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card