CVE-2026-41205
published high CVSS 4.0 · 7.7Mako: Path traversal via double-slash URI prefix in TemplateLookup
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sqlalchemy | — | mako< 1.3.11 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3333 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1846 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | bionic | mako | Advisory build | 1.0.7+ds1-1ubuntu0.2+esm1 | USN-8234-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-Makonoarch | Advisory build | 1.0.7-150000.3.6.1 | SUSE-SU-2026:1820-1 |
| Amazon Linux | AL2 | python-makonoarch | Listed in advisory | Not stated | ALAS2-2026-3333 |
| Ubuntu | focal | mako | Advisory build | 1.1.0+ds1-1ubuntu2.1+esm1 | USN-8234-1 |
| Ubuntu | jammy | mako | Advisory build | 1.1.3+ds1-2ubuntu0.2 | USN-8234-1 |
Show 35 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | mako | Advisory build | 1.3.2-1ubuntu0.1 | USN-8234-1 |
| Ubuntu | questing | mako | Advisory build | 1.3.9-1ubuntu0.1 | USN-8234-1 |
| Ubuntu | resolute | mako | Advisory build | 1.3.10-3ubuntu0.1 | USN-8234-1 |
| Ubuntu | xenial | mako | Advisory build | 1.0.3+ds1-1ubuntu1+esm2 | USN-8234-1 |
| SUSE / openSUSE | SLE-15-SP5 | python3-Makonoarch | Advisory build | 1.0.7-150000.3.6.1 | SUSE-SU-2026:1820-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Makonoarch | Advisory build | 1.3.0-150600.3.3.1 | SUSE-SU-2026:1819-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Makonoarch | Advisory build | 1.3.0-150600.3.3.1 | SUSE-SU-2026:1819-1 |
| SUSE / openSUSE | SLE-16 | python313-Makonoarch | Advisory build | 1.3.10-160000.3.1 | SUSE-SU-2026:21426-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Makonoarch | Advisory build | 1.3.0-150600.3.3.1 | SUSE-SU-2026:1819-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Makonoarch | Advisory build | 1.3.10-160000.3.1 | OPENSUSE-SU-2026:20645-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Makoaarch64 | Advisory build | 1.3.11-1.1 | OPENSUSE-SU-2026:10616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Makoppc64le | Advisory build | 1.3.11-1.1 | OPENSUSE-SU-2026:10616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Makos390x | Advisory build | 1.3.11-1.1 | OPENSUSE-SU-2026:10616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Makox86_64 | Advisory build | 1.3.11-1.1 | OPENSUSE-SU-2026:10616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Makoaarch64 | Advisory build | 1.3.11-1.1 | OPENSUSE-SU-2026:10616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Makoppc64le | Advisory build | 1.3.11-1.1 | OPENSUSE-SU-2026:10616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Makos390x | Advisory build | 1.3.11-1.1 | OPENSUSE-SU-2026:10616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Makox86_64 | Advisory build | 1.3.11-1.1 | OPENSUSE-SU-2026:10616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Makoaarch64 | Advisory build | 1.3.11-1.1 | OPENSUSE-SU-2026:10616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Makoppc64le | Advisory build | 1.3.11-1.1 | OPENSUSE-SU-2026:10616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Makos390x | Advisory build | 1.3.11-1.1 | OPENSUSE-SU-2026:10616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Makox86_64 | Advisory build | 1.3.11-1.1 | OPENSUSE-SU-2026:10616-1 |
| Ubuntu | bionic | python-mako | Advisory build | 1.0.7+ds1-1ubuntu0.2+esm1 | USN-8234-1 |
| Ubuntu | bionic | python3-mako | Advisory build | 1.0.7+ds1-1ubuntu0.2+esm1 | USN-8234-1 |
| Ubuntu | focal | python-mako | Advisory build | 1.1.0+ds1-1ubuntu2.1+esm1 | USN-8234-1 |
| Ubuntu | focal | python3-mako | Advisory build | 1.1.0+ds1-1ubuntu2.1+esm1 | USN-8234-1 |
| Ubuntu | jammy | python3-mako | Advisory build | 1.1.3+ds1-2ubuntu0.2 | USN-8234-1 |
| Ubuntu | noble | python3-mako | Advisory build | 1.3.2-1ubuntu0.1 | USN-8234-1 |
| Ubuntu | questing | python3-mako | Advisory build | 1.3.9-1ubuntu0.1 | USN-8234-1 |
| Ubuntu | resolute | python3-mako | Advisory build | 1.3.10-3ubuntu0.1 | USN-8234-1 |
| Ubuntu | xenial | python-mako | Advisory build | 1.0.3+ds1-1ubuntu1+esm2 | USN-8234-1 |
| Ubuntu | xenial | python3-mako | Advisory build | 1.0.3+ds1-1ubuntu1+esm2 | USN-8234-1 |
| Amazon Linux | AL2 | python-makosrc | Listed in advisory | Not stated | ALAS2-2026-3333 |
| Amazon Linux | AL2023 | python-makonoarch | Listed in advisory | Not stated | ALAS2023-2026-1846 |
| Amazon Linux | AL2023 | python-makosrc | Listed in advisory | Not stated | ALAS2023-2026-1846 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sqlalchemy | mako | < 1.3.11 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
3Provider assertions
2GitHub_M · cna
Mako: Path traversal via double-slash URI prefix in TemplateLookup
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0c95b0d92564993bc8ac57b521d3625166718547eb6250f6bdfb4f6ed8454052
- Ingested
- 23 Sep 2026, 09:13:40 UTC
- Source record
- Official CVE record