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 in Chainguard
- 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