CVE-2026-48808
published medium CVSS 4.0 · 6.0Twig: Sandbox property allowlist bypass via the `column` filter under `SourcePolicyInterface`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| twigphp | — | Twig< 3.27.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| twigphp | Twig | < 3.27.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-693 CWE-693: Protection Mechanism Failure
- CWE-863 CWE-863: Incorrect Authorization
References
3Provider assertions
2GitHub_M · cna
Twig: Sandbox property allowlist bypass via the `column` filter under `SourcePolicyInterface`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d0ed5c5b7e53821e52162ffb5ac17b2c3b919e546b5e8e055e141e06682c7b34
- Ingested
- 23 Sep 2026, 09:17:37 UTC
- Source record
- Official CVE record