CVE-2026-44307
High
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.
SeverityHigh
CVSS8.7
Exploit probability—
ProductMako
PublishedMay 12, 2026
First seenMay 12, 2026
Weakness typeCWE-22Path traversal
How to fix
Update
- mako1.3.12 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| makoPyPI | v < 1.3.12 | 1.3.12 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.