
CVE catalog
CVE-2026-44307
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
- Severity
- High · CVSS 8.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.74% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mako | sid | 1.3.10-3 | not affected |
| Debian | mako | forky | 1.3.10-3 | not affected |
| Debian | mako | trixie | 1.3.9-1 | not affected |
| Debian | mako | bookworm | 1.2.4+ds-1 | not affected |
| PyPI | mako | Not reported | 1.3.12 | fixed |
| PyPI | mako | Not reported | 1.3.12 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mako | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | mako | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | mako | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | mako | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| PyPI | mako | PyPI | Not reported | 1.3.12 | Not reported | PYSEC-2026-2617 | Not reported |
| PyPI | mako | PyPI | Not reported | 1.3.12 | Not reported | GHSA-2H4P-VJRC-8XPQ | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-mako]Not affected
Source package: [mako]
Details (2)
1.2.4+ds-1· all · bookwormNot affected
nvd · mako · debian · bookworm
1.2.4+ds-1· all · bookwormNot affected
nvd · mako · debian · bookworm
- [python-mako-doc]Not affected
Source package: [mako]
Details (2)
1.2.4+ds-1· all · bookwormNot affected
nvd · mako · debian · bookworm
1.2.4+ds-1· all · bookwormNot affected
nvd · mako · debian · bookworm
Observed:
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]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-44307]
- [https://osv.dev/vulnerability/GHSA-2h4p-vjrc-8xpq]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-44307]
- [https://security-tracker.debian.org/tracker/CVE-2026-44307]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44307.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]