# CVE-2026-48808: Twig: Sandbox property allowlist bypass via the `column` filter under `SourcePolicyInterface`

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 27% of CVEs (2026-11-30)
- Published: 2026-06-30T18:43:45.000Z
- Modified: 2026-10-24T22:10:00.210Z
- Also known as: GHSA-h8vq-8gpg-mhcg
- Weaknesses: CWE-693, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- twigphp Twig: < 3.27.0
- twig/twig (Packagist): before 3.27.0
- symfony twig: before 3.27.0

## Every score

- GitHub_M: CVSS:4.0 6.0 Medium `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`
- GitHub: rating Medium
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/twigphp/Twig/security/advisories/GHSA-h8vq-8gpg-mhcg> (vendor-advisory, web)
- <https://github.com/twigphp/Twig/commit/09c6706407ed7b1cb2d7d1408004f811e47e0424> (patch)
- <https://github.com/twigphp/Twig/releases/tag/v3.27.0> (release-notes, web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2026-48808.yaml> (web)
- <https://github.com/twigphp/Twig> (package)
- <https://symfony.com/blog/cve-2026-48808-sandbox-property-allowlist-bypass-via-the-column-filter-under-sourcepolicyinterface> (web)

## Sources

- CVE List: [CVE-2026-48808](https://www.cve.org/CVERecord?id=CVE-2026-48808), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-h8vq-8gpg-mhcg](https://github.com/advisories/GHSA-h8vq-8gpg-mhcg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-48808](https://nvd.nist.gov/vuln/detail/CVE-2026-48808), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-48808 · Whole record: https://cve.day/CVE-2026-48808.json · Rebuilt by cve.day 2026-11-25T22:59:28.248Z
