AploSec / Disclosures / CVE-2026-142195

Low 2.3ReportedFixed in 3.1.7CWE-863Packagist

Latte before 3.1.7 Sandbox Bypass via Double-Evaluated Dynamic Property Names

CVE-2026-142195 · published 2026-12-02

In plain words: this type of bug lets a user see or change things that belong to someone else (broken access control). A fixed release is listed.

Summary

CVE-2026-142195 affects Latte (Packagist) < 3.1.7: Sandbox Bypass via Double-Evaluated Dynamic Property Names (CWE-863). Fixed in 3.1.7. CVSS 4.0 base score 2.3 (Low), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade Latte to 3.1.7 or later. Releases in the affected range (< 3.1.7) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-12-02 CVE published

References

Severity
Low 2.3CVSS 4.0, scored by VulnCheck in the CVE record
Package
Latte
Ecosystem
Packagist
Affected
< 3.1.7
Fixed
3.1.7
Weakness
CWE-863
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder