Advisory record · GHSA-h8vq-8gpg-mhcg

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

CVSS 6.0 MediumEPSS 0.0041 · 35th percentile

Published by the GitHub Advisory Database at 30 Jun 2026, 18:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
twig/twigPackagist<3.27.03.27.0
Identifiers
GHSA-h8vq-8gpg-mhcg · CVE-2026-48808 · PKSA-fbvq-z33h-r2np
Weakness (CWE)
CWE-693 · CWE-863
Published
30 Jun 2026
Updated
10 Sept 2026

Machine-written summary

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

Twig, the PHP template engine, is vulnerable in versions before 3.27.0 when sandboxing is enabled through SourcePolicyInterface. A template author who has the column filter allowed under that sandbox can read public or magic properties of objects in the render context, bypassing the property allowlist, so the attacker needs to be able to write templates. The fix is to upgrade to Twig 3.27.0 or later, and the source notes that the flaw is a residual bypass of CVE-2026-46635 / GHSA-vcc8-phrv-43wj.

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
6.0 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0041, the 35th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 27 May 2026, 13:13 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:00 UTC First seen by agentprime
  3. 31 Oct 2026, 14:00 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.