Advisory

UBUNTU-CVE-2026-41205

Also known as: CVE-2026-41205

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-04-24 00:00 UTC
Modified
2026-05-20 16:25 UTC

Affected packages and fixes

mako

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.1.3+ds1-2ubuntu0.2 (ecosystem)

Fixed versions

1.1.3+ds1-2ubuntu0.2

Fix

  • Fixed version 1.1.3+ds1-2ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

mako

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.3.2-1ubuntu0.1 (ecosystem)

Fixed versions

1.3.2-1ubuntu0.1

Fix

  • Fixed version 1.3.2-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

mako

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 1.3.9-1ubuntu0.1 (ecosystem)

Fixed versions

1.3.9-1ubuntu0.1

Fix

  • Fixed version 1.3.9-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

mako

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1.3.10-3ubuntu0.1 (ecosystem)

Fixed versions

1.3.10-3ubuntu0.1

Fix

  • Fixed version 1.3.10-3ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences