CVE-2026-142195
published low CVSS 4.0 · 2.3Latte before 3.1.7 Sandbox Bypass via Double-Evaluated Dynamic Property Names
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nette | — | Latte0 to < 3.1.7 · Other versions: unaffected | Affected | Not stated | VulnCheck |
Description
Latte before 3.1.7 contains a sandbox bypass vulnerability that allows template authors to read forbidden properties by abusing double-evaluated dynamic property names. Attackers can craft side-effecting name expressions in PropertyFetchNode or StaticPropertyFetchNode so the policy check sees an allowed property while access reads a forbidden one.
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
- 2.3 / 10
- Severity
- low
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.1 | low | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nette | Latte | 0 to < 3.1.7 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-863 Incorrect Authorization
References
5- https://github.com/nette/latte/blob/v3.1.6/src/Latte/Compiler/PrintContext.php#L244-L260
- https://github.com/nette/latte/blob/v3.1.6/src/Latte/Sandbox/Nodes/PropertyFetchNode.php#L25-L32
- https://github.com/nette/latte/commit/3c70898a0a5e5624509b7fe57753aa2b8794ed1c
- Latte v3.1.7 Release Notes https://github.com/nette/latte/releases/tag/v3.1.7
- VulnCheck Advisory: Latte before 3.1.7 Sandbox Bypass via Double-Evaluated Dynamic Property Names https://www.vulncheck.com/advisories/latte-before-3.1.7-sandbox-bypass-via-double-evaluated-dynamic-property-names
Provider assertions
2VulnCheck · cna
Latte before 3.1.7 Sandbox Bypass via Double-Evaluated Dynamic Property Names
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- de3a5abbd8495427f6615c59720d2ea2db55b1419b3414e263f4cb5d871c4088
- Ingested
- 02 Dec 2026, 19:48:38 UTC
- Source record
- Official CVE record