CVE-2026-41205: Mako · Prior to 1.3.11, TemplateLookup.get_template() is vulnerable to path traversal when a URI
Affects makoSource GCVE Database
Public exploit available · CVSS 7.7 High · fixed in 1.0.3+ds1-1ubuntu1+esm2 : patch mako as a priority.
Data as of 24 Nov 2026, 20:28 UTC
- Patch
- Available – fixed in 1.0.3+ds1-1ubuntu1+esm2, 1.0.7+ds1-1ubuntu0.2+esm1, 1.1.0+ds1-1ubuntu2.1+esm1 +4
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:PExploitation evidence
Disclosed: evidence found.
CVE published 23 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSmakopkg:deb/ubuntu/mako?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10makopkg:deb/ubuntu/mako?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSmakopkg:deb/ubuntu/mako?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSmakopkg:deb/ubuntu/mako?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSmakopkg:deb/ubuntu/mako?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSmakopkg:deb/ubuntu/mako?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.