Directory Traversal Vulnerability in Mako Template Library for Python
CVE-2026-44307

8.7HIGH

Key Information:

Vendor

Sqlalchemy

Status
Vendor
CVE Published:
12 May 2026

What is CVE-2026-44307?

The Mako template library, used in Python applications, is vulnerable to a directory traversal issue where an attacker could use backslash traversal sequences (e.g., ....\ secret.txt) to bypass security checks. This could allow unauthorized access to files outside the intended template directory, exposing sensitive information. It is crucial for users to upgrade to version 1.3.12 or later, where this security flaw is resolved. For more details, refer to the security advisory on GitHub.

Affected Version(s)

mako < 1.3.12

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.