Advisory record · GHSA-vcc8-phrv-43wj

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

CVSS 5.3 MediumEPSS 0.0033 · 26th percentile

Published by the GitHub Advisory Database at 21 May 2026, 21:25 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
twig/twigPackagist<3.26.03.26.0
Identifiers
GHSA-vcc8-phrv-43wj · CVE-2026-46635 · PKSA-n14z-jjjg-g8vd
Weakness (CWE)
CWE-863
Published
21 May 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Twig (Packagist twig/twig) versions before 3.26.0 are affected. When the sandbox is enabled, a template author who has been allowed to use the `column` filter can read public or magic properties of objects in the render context, bypassing the sandbox's property allowlist. The source describes this as a variant of CVE-2024-51755 that the earlier fix did not cover. Upgrade to twig/twig 3.26.0, which enforces the property allowlist for the `column` filter.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.3 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0033, the 26th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 20 May 2026, 07:44 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:01 UTC First seen by agentprime
  3. 31 Oct 2026, 14:01 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.