Latte before 3.1.7 Sandbox Bypass via Double-Evaluated Dynamic Property Names
CVE-2026-142195Published 2 Dec 2026, 16:50 UTC
Real-world risk
0.3/ 10Low
Routine
If the vulnerable configuration applies to you: 0.7
PreliminaryFrom the CVSS vector only · confidence low
CVSS
2.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| LatteNiche | < 3.1.7 | 3.1.7 |
What to do
Update to a fixed version: 3.1.7.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
The arithmetic
- Prerequisites multiplied together0.122
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.1215 × threat 0.850.310
- Rounded to one decimal between 0.1 and 100.3
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 0.3 (cvss fallback)
Weakness
CWE-863
References
- https://github.com/nette/latte/blob/v3.1.6/src/Latte/Sandbox/Nodes/PropertyFetchNode.php#L25-L32technical-description
- https://github.com/nette/latte/blob/v3.1.6/src/Latte/Compiler/PrintContext.php#L244-L260technical-description
- https://github.com/nette/latte/commit/3c70898a0a5e5624509b7fe57753aa2b8794ed1cpatch
- https://github.com/nette/latte/releases/tag/v3.1.7release-notes
- https://www.vulncheck.com/advisories/latte-before-3.1.7-sandbox-bypass-via-double-evaluated-dynamic-property-namesthird-party-advisory
- CVE-2026-142195 on CVE.org