PT-2026-38303 · Pypi+1 · Mako+1

CVE-2026-44307

·

Published

2026-05-06

·

Updated

2026-07-21

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Mako (affected versions not specified)
Description On Windows, a path traversal issue exists where URIs using backslash traversal (e.g., ....secret.txt) can bypass directory traversal checks in Template. init and normalization in TemplateLookup.get template(). This occurs due to a mismatch between posixpath, which treats backslashes as literal characters, and os.path (specifically ntpath on Windows), which treats them as path separators. An attacker can exploit this by passing user-controlled template names or include paths to the get template() function, potentially leading to the disclosure of files outside the configured template directory. If the accessed file contains Mako or Python template syntax, it may be parsed and executed.
Recommendations Normalize backslashes to forward slashes early in the URI processing pipeline, before any path operations, to ensure consistent behavior across platforms.

Exploit

Fix

DoS

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-10805
CLEANSTART-2026-AF67526
CLEANSTART-2026-AN24336
CLEANSTART-2026-AZ09261
CLEANSTART-2026-CQ05396
CLEANSTART-2026-CR27895
CLEANSTART-2026-EM82280
CLEANSTART-2026-FT24360
CLEANSTART-2026-FU07345
CLEANSTART-2026-HP19968
CLEANSTART-2026-IR98353
CLEANSTART-2026-JU43269
CLEANSTART-2026-KE11953
CLEANSTART-2026-LJ72726
CLEANSTART-2026-MJ28981
CLEANSTART-2026-MR94452
CLEANSTART-2026-NL78203
CLEANSTART-2026-NM83456
CLEANSTART-2026-PY39713
CLEANSTART-2026-QE89118
CLEANSTART-2026-QY59076
CLEANSTART-2026-SO50412
CLEANSTART-2026-UG08450
CLEANSTART-2026-UO66475
CLEANSTART-2026-UO85049
CLEANSTART-2026-UZ41796
CLEANSTART-2026-WQ85001
CLEANSTART-2026-WU03167
CVE-2026-44307
ECHO-15A8-1150-DD0D
GHSA-2H4P-VJRC-8XPQ
PYSEC-2026-2617

Affected Products

Mako
Red Os