Vulnerability
CVE-2026-44307
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.
23 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-226m-m96c-gg73
- CGA-3g46-p4cc-5hhx
- CGA-4hxf-j98x-mpmx
- CGA-6qc2-46p7-v7q6
- CGA-86f4-p9m8-wcpg
- CGA-98p8-v9xh-c4r2
- CGA-993r-p49x-vxxc
- CGA-f3rh-9r4j-87xx
- CGA-ffr6-j35r-cxww
- CGA-g823-62mc-c2fc
- CGA-g8vh-r3mx-3rg7
- CGA-hgx7-c692-2hfw
- CGA-jfgq-x2c9-rvrg
- CGA-jm28-h5v9-jpcg
- CGA-p79c-7j76-25q7
- CGA-rqqx-8pp7-m4gw
- CGA-v899-75mx-ppwp
- CGA-vccp-v8wj-hg8v
- CGA-vgrp-7f74-gp88
- CGA-x4qf-4mgj-55wj
-
GHSA-2h4p-vjrc-8xpq
Mako vulnerable to path traversal via backslash URI on Windows in TemplateLookup
-
PYSEC-2026-2617
Mako vulnerable to path traversal via backslash URI on Windows in TemplateLookup
-
UBUNTU-CVE-2026-44307
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…