CVE-2026-44307CWE-22

Mako: Path traversal via backslash URI on Windows in TemplateLookup

High · published May 12, 2026

CVSS v4.0
8.7
EPSS
1%
Percentile
59.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
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
EPSS
0.00891 · 59.0th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-05-12T21:53Z
EPSS history
Timeline
  • 12 MAY 21:53Z
    Mako: Path traversal via backslash URI on Windows in TemplateLookup
    cvelistv5