Skip to content
Medium 8.2

Nette Latteに パストラバーサルの脆弱性 テンプレート名の検証を回避され任意のファイルを読まれるおそれ

CVE-2026-142193 First seen on SecPulse

Summary

Nette Latteの3.1.10までには、FileLoaderのbaseDir制限を回避されてパストラバーサルが起きる脆弱性があります。Engine::render()に渡すテンプレート名を攻撃者に操作されると、PHPプロセスが読めるファイルを読み取られるおそれがあります。修正版の情報は公表されていないため、最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Nette Latteの3.1.10までには、FileLoaderのbaseDir制限を回避されてパストラバーサルが起きる脆弱性があります。Engine::render()に渡すテンプレート名を攻撃者に操作されると、PHPプロセスが読めるファイルを読み取られるおそれがあります。修正版の情報は公表されていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
netteLatte
≤ 3.1.10→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details