Vulnerability
CVE-2026-41205
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.
44 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALAS2-2026-3333
Amazon Linux 2 2017.12 - ALAS2-2026-3333: medium priority package update for python-mako
-
ALAS2023-2026-1846
Amazon Linux 2023 - ALAS2023-2026-1846: Medium priority package update for python-mako
-
AZL-83606
CVE-2026-41205 affecting package python-mako for versions less than 1.2.4-3
- CGA-285g-7vp3-9888
- CGA-2r62-xf66-772g
- CGA-2rcg-9675-g8r2
- CGA-3ch3-hx6h-h462
- CGA-3vh2-2285-9223
- CGA-5c9q-gpm4-x9f2
- CGA-6c3h-4364-4x4p
- CGA-947j-5hm8-rchm
- CGA-9fm2-58m7-mwc8
- CGA-9rm6-p84c-8327
- CGA-c7qc-7r47-hg3p
- CGA-cchh-vcjf-r4fw
- CGA-cff8-37wm-9rxg
- CGA-f6jp-m2xr-7498
- CGA-gcr9-3fj5-xr4m
- CGA-ggmm-jwff-xfjg
- CGA-h4pg-3pwm-hmvv
- CGA-h5cg-f7wx-j429
- CGA-hpww-6g6x-v927
- CGA-hv84-pjqc-g653
- CGA-j9rq-cxh9-h5j6
- CGA-jf3h-ppc7-6pwh
- CGA-m25q-fwc4-xgqc
- CGA-m2w5-933c-9w8h
- CGA-mf5r-m72x-888w
- CGA-mvw6-6p3q-6p6r
- CGA-pr6v-p835-66h4
- CGA-pvf7-jpgj-vr2w
- CGA-w4rj-w2gm-jgfr
- CGA-wj85-gj5w-8x8j
- CGA-x8hf-c7wr-9qm4
- CGA-xp59-c7j2-h4v7
- CGA-xqf6-fhg5-f34j
-
DEBIAN-CVE-2026-41205
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…
-
GHSA-v92g-xgxw-vvmm
Mako: Path traversal via double-slash URI prefix in TemplateLookup
-
PYSEC-2026-88
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…
-
RHVEX-CVE-2026-41205
mako: Mako: Information disclosure via path traversal vulnerability
-
SUSEVEX-CVE-2026-41205
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…
-
UBUNTU-CVE-2026-41205
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…
-
USN-8234-1
python-mako vulnerability
-
openSUSE-SU-2026:10616-1
python311-Mako-1.3.11-1.1 on GA media