CVE-2026-142194

7.5High

Published Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
High
Privileges
Low
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-863

What an attacker gets

Authenticated attackers can execute arbitrary system commands with web application privileges. This requires the attacker to have the ability to author or modify Latte templates.

Root cause

The RuntimeChecker fails to validate string callables passed to the |map and |filter filters against the allowed function list.

Affected versions

Latte through 3.1.10

CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

Update to a version beyond 3.1.10 once available. In the interim, restrict template editing access to trusted users only.

remediation — bash
$ composer update nette/latte

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-142194

More fully triaged vulnerabilities you may want to check next.