CVE-2026-142193: Nette Latte through 3.1.10 Path Traversal via FileLoader baseDir Bypass

Published Dec 2, 2026
·
Updated

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 Engine::render() can exploit flawed normalizePath() handling of empty segments to read any file readable by the PHP process.

Affected Software

1 affected component
composer/latte/latte<=3.1.10

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are realistically exposed?

Deployments using composer/latte/latte through 3.1.10 are exposed when an attacker can control the template name supplied to Engine::render(). The issue depends on FileLoader being used with a baseDir restriction that the crafted name can bypass.

2

What does an attacker need to provide to exploit the issue?

The attacker must be able to supply a template name beginning with '/../' to the affected rendering path. No authentication or user interaction is indicated by the supplied CVSS vector.

3

Is the impact limited to file disclosure?

The available information indicates disclosure of any file readable by the PHP process. It does not indicate file modification or denial-of-service impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203