Skip to main content
VulnerabilityPublished Updated

CVE-2026-41205: Mako · Prior to 1.3.11, TemplateLookup.get_template() is vulnerable to path traversal when a URI

Affects makoSource GCVE Database

0
Compare
Authoritative record:CVE-2026-41205· High 7.7

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

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSmakopkg:deb/ubuntu/mako?arch=source&distro=resoluteOther threatsAffected
  • <1.3.10-3ubuntu0.1
Fixed in
  • 1.3.10-3ubuntu0.1
Ubuntu 25.10makopkg:deb/ubuntu/mako?arch=source&distro=questingOther threatsAffected
  • <1.3.9-1ubuntu0.1
Fixed in
  • 1.3.9-1ubuntu0.1
Ubuntu 24.04 LTSmakopkg:deb/ubuntu/mako?arch=source&distro=nobleOther threatsAffected
  • <1.3.2-1ubuntu0.1
Fixed in
  • 1.3.2-1ubuntu0.1
Ubuntu 22.04 LTSmakopkg:deb/ubuntu/mako?arch=source&distro=jammyOther threatsAffected
  • <1.1.3+ds1-2ubuntu0.2
Fixed in
  • 1.1.3+ds1-2ubuntu0.2
Ubuntu Pro 20.04 LTSmakopkg:deb/ubuntu/mako?arch=source&distro=esm-infra/focalOther threatsAffected
  • <1.1.0+ds1-1ubuntu2.1+esm1
Fixed in
  • 1.1.0+ds1-1ubuntu2.1+esm1
Ubuntu Pro 18.04 LTSmakopkg:deb/ubuntu/mako?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <1.0.7+ds1-1ubuntu0.2+esm1
Fixed in
  • 1.0.7+ds1-1ubuntu0.2+esm1

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.

References

Community reviews

Loading reviews…