CVE-2026-44307 HIGH

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

Vendor Sqlalchemy
Product mako
Weakness CWE-22 · Path traversal
Published May 12, 2026
Last update May 13, 2026

CVSS base score

8.7/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 12, 2026 CVE published
May 13, 2026 Record updated