Path traversal in Mako - #VU128467

 

Path traversal in Mako - #VU128467

Published: April 29, 2026


Vulnerability identifier: #VU128467
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: SQLAlchemy
Affected software:
Mako

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences within backslash URI on Windows in TemplateLookup.get_template(). A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.


Remediation

Install updates from vendor's website.

Sources