Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › nette

High 8.2 3 CVEs Analysis

Nette Latte batch: template path traversal and sandbox bypasses, one allowing OS command execution

NVD published three Nette Latte vulnerabilities together on 2026-12-02: a path traversal and a sandbox bypass rated HIGH, and a lower-severity sandbox bypass that exposes forbidden properties. The records say the most serious flaws can be reached through template names or template authors, so administrators should first confirm which Latte versions they run.

What to look into

  • 3 vulnerabilities in nette Latte: 2 high, 1 low (CVSS up to 8.2).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-142193 (8.2 high): Nette Latte through 3.1.10 contains a path traversal vulnerability in FileLoader that allows attackers to bypass the baseDir restriction by supplying template names beginning with '/../'. Attackers c… An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
  • 1 of 3 can be attacked over the network without logging in, 1 of them without anyone clicking anything.
  • Kinds of flaws: Incorrect Authorization (×2); Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Operating systemsPHPVulnerabilitiesWeb

Key points

  • Two HIGH-rated flaws: a path traversal in FileLoader (CVE-2026-142193) and a sandbox bypass via |map and |filter (CVE-2026-142194)
  • CVE-2026-142194 is described as enabling OS command execution with web application privileges
  • CVE-2026-142195 is rated LOW and allows reading forbidden properties through double-evaluated names
  • The records cover Latte through 3.1.10 and before 3.1.7; no fixed version or workaround is stated

Overview

Three vulnerabilities in the Nette Latte templating engine were published together by NVD on 2026-12-02. Two are rated HIGH and one is rated LOW. All three involve how Latte handles template input, so the central question is what a party who can influence templates could reach.

The most severe flaws

CVE-2026-142193 (CVSS 8.2) is a path traversal in FileLoader. According to the record, template names that begin with '/../' get past the baseDir restriction, and the cause is flawed normalizePath() handling of empty segments. Someone who controls the template name passed to Engine::render() could read any file the PHP process can read.

CVE-2026-142194 (CVSS 7.7) is a sandbox bypass. Template authors can pass string callables to the |map and |filter filters, and RuntimeChecker::args() does not check those names against allowFunctions(). The record uses system as an example and says this could run operating system commands with web application privileges.

Lower-severity sandbox flaw

CVE-2026-142195 (CVSS 2.3) lets template authors read forbidden properties by abusing dynamic property names that are evaluated twice. Name expressions with side effects in PropertyFetchNode or StaticPropertyFetchNode can make the policy check see an allowed property while the access reads a forbidden one.

Affected versions and fixes

The two HIGH records cover Latte through 3.1.10. CVE-2026-142195 covers versions before 3.1.7. The records do not name a fixed version, a workaround, or detection guidance, so those details are not available from this batch.

What to do

  1. Identify every Latte installation and compare its version against the through 3.1.10 and before 3.1.7 ranges given in the records.

Our article about all 3 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 3 vulnerabilities

  • CVE-2026-142193 8.2 Nette Latte through 3.1.10 contains a path traversal vulnerability in FileLoader that allows attackers to bypass the baseDir restriction by supplying template names beginning with '/../'. Attackers controlling the template name passed to E…
  • CVE-2026-142194 7.7 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 ca…
  • CVE-2026-142195 2.3 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 PropertyFetchNo…

Frequently asked questions

How many nette Latte vulnerabilities were published on December 2, 2026?

3 vulnerabilities: 2 high, 1 low, with CVSS scores up to 8.2.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-142193 (CVSS 8.2): Nette Latte through 3.1.10 contains a path traversal vulnerability in FileLoader that allows attackers to bypass the baseDir restriction by supplying template names beginning with '/../'. Attackers c…

Original records