High severity · published May 12, 2026
CVE-2026-44307
Mako: Path traversal via backslash URI on Windows in TemplateLookup
8.7
CVSS
0.7%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 54% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
mako · sqlalchemy
< 1.3.12 · source: vendor
Affected product
MA
mako
sqlalchemy
More from mako
7.5
CVE-2026-41205
Mako: Path traversal via double-slash URI prefix in TemplateLookup
7.5
CVE-2022-40023
Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse
6.5
CVE-2026-102991
Mako: Path traversal via drive-letter URI on Windows in TemplateLookup