Skip to main content
← All vulnerabilities
CVE-2026-41205PYSEC-2026-88GHSA-V92G-XGXW-VVMM

Mako: Path traversal via double-slash URI prefix in TemplateLookup

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

Summary

Mako is a template library written in Python. Prior to 1.3.11, TemplateLookup.get_template() is vulnerable to path traversal when a URI starts with // (e.g., //../../../secret.txt). The root cause is an inconsistency between two slash-stripping implementations. Any file readable by the process can be returned as rendered template content when an application passes untrusted input directly to TemplateLookup.get_template(). This vulnerability is fixed in 1.3.11.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • sqlalchemy mako

    fixed in 1.3.11

  • makoPyPI

    fixed in 1.3.11

References 3

GitHub · sqlalchemy/mako