CVE 8.7 HIGH

Mako: Path traversal via backslash URI on Windows in TemplateLookup_CVE-2026-44307

8.7 / 10
HIGH
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

Description

Mako is a template library written in Python. Prior to 1.3.12, on Windows, a URI using backslash traversal (e.g. \..\..\ secret.txt) bypasses the directory traversal check in Template.__init__ and the posixpath-based normalization in TemplateLookup.get_template(), allowing reads of files outside the configured template directory. This vulnerability is fixed in 1.3.12.

Basic Information

ID CVE-2026-44307
Source GitHub_M
Published May 12, 2026 at 21:53

Affected Product

Vendor sqlalchemy
Product mako
Version < 1.3.12
Affected Versions sqlalchemy mako < 1.3.12

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.