2 matches found
Mako: Path traversal via drive-letter URI on Windows in TemplateLookup
SummaryOn Windows, a TemplateLookup URI beginning with a drive designator e.g. C:/../../secret.txt or C:\..\..\secret.txt bypasses the directory traversal check in Template.init, allowing reads of files outside the configured template directory.This is a third, independent instance of the root...
8.7CVSS5.9AI score0.00361EPSS
SaveExploits0References8Affected Software1
UBUNTU-CVE-2026-102991
Mako is a template library written in Python. Prior to 1.4.2, on Windows, TemplateLookup.gettemplate in mako/lookup.py resolves template URIs with posixpath, while Template.init in mako/template.py validates them with os.path, which uses ntpath. A URI beginning with a drive designator causes ntpa...
6.5CVSS6.5AI score0.00356EPSS
SaveExploits0References6
20