Skip to main content
← All vulnerabilities
CVE-2026-44307GHSA-2H4P-VJRC-8XPQPYSEC-2026-2617

Mako: Path traversal via backslash URI on Windows in TemplateLookup

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.3.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • sqlalchemy mako

    fixed in 1.3.12

  • makoPyPI

    fixed in 1.3.12

References 4

GitHub · sqlalchemy/mako