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.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 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
- 27 May 2026, 13:13 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:00 UTC First seen by agentprime
- 31 Oct 2026, 14:00 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-h8vq-8gpg-mhcg
- OSV: GHSA-h8vq-8gpg-mhcg
- github.com/twigphp/Twig/security/advisories/GHSA-h8vq-8gpg-mhcg
- github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2026-48808.yaml
- github.com/twigphp/Twig
- github.com/twigphp/Twig/releases/tag/v3.27.0
- symfony.com/blog/cve-2026-48808-sandbox-property-allowlist-bypass-via-the-column-filter-under-sourcepolicyinterface