CVE Catalog

CVE-2026-142194

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.65%

52th percentile - higher than 52% of all known CVEs

Summary

Latte through 3.1.10 contains a sandbox bypass vulnerability that allows template authors to call arbitrary PHP functions by passing string callables to the |map and |filter filters. Attackers can supply a function name like system as a callable, which RuntimeChecker::args() does not check against allowFunctions(), to execute operating system commands with web application privileges.

Risk Assessment

An attacker can execute operating system commands with web application privileges, leading to full server compromise. The risk affects any application using Latte to render templates from untrusted authors.

Recommendation

Update Latte to a version newer than 3.1.10. Additionally, restrict template editing to trusted users only.

Other vulnerabilities in Latte

Original NVD description (English source)

Latte through 3.1.10 contains a sandbox bypass vulnerability that allows template authors to call arbitrary PHP functions by passing string callables to the |map and |filter filters. Attackers can supply a function name like system as a callable, which RuntimeChecker::args() does not check against allowFunctions(), to execute operating system commands with web application privileges.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS