What’s Vulnerable › Vulnerabilities
CVE-2026-44307: Mako: Path traversal via backslash URI on Windows in TemplateLookup
- Severity: high (CVSS 8.7 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-12 · updated 2026-10-26
- Weakness: CWE-22
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.
Affected products
- sqlalchemy mako: before 1.3.12
References
- https://github.com/sqlalchemy/mako/commit/72e10c573ca0fbcbddd4455abca8ce92a61780d7
- https://github.com/sqlalchemy/mako/issues/435
- https://github.com/sqlalchemy/mako/releases/tag/rel_1_3_12
- https://github.com/sqlalchemy/mako/security/advisories/GHSA-2h4p-vjrc-8xpq
Get alerted when CVE-2026-44307 or the next vulnerability affects your stack