Ubuntu CVE Tracker
UBUNTU-CVE-2026-44307
This advisory was withdrawn on 23 May 2026.
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | mako | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | mako | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | mako | All versions, no fix listed |
| Ubuntu:22.04:LTS | mako | All versions, no fix listed |
| Ubuntu:24.04:LTS | mako | All versions, no fix listed |
| Ubuntu:25.10 | mako | All versions, no fix listed |
| Ubuntu:26.04:LTS | mako | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2026-44307
- https://www.cve.org/CVERecord?id=CVE-2026-44307
- 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