USN-8234-1: Mako vulnerability

Publication date

5 May 2026

Overview

Mako could be made to expose sensitive information over the network.


Packages

  • mako - fast and lightweight templating for the Python platform

Details

It was discovered that Mako incorrectly handled URIs with double-slash
prefixes in TemplateLookup. A remote attacker could possibly use this issue
to obtain sensitive information.

It was discovered that Mako incorrectly handled URIs with double-slash
prefixes in TemplateLookup. A remote attacker could possibly use this issue
to obtain sensitive information.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
26.04 LTS resolute python3-mako –  1.3.10-3ubuntu0.1
25.10 questing python3-mako –  1.3.9-1ubuntu0.1
24.04 LTS noble python3-mako –  1.3.2-1ubuntu0.1
22.04 LTS jammy python3-mako –  1.1.3+ds1-2ubuntu0.2
20.04 LTS focal python-mako –  1.1.0+ds1-1ubuntu2.1+esm1  
python3-mako –  1.1.0+ds1-1ubuntu2.1+esm1  
18.04 LTS bionic python-mako –  1.0.7+ds1-1ubuntu0.2+esm1  
python3-mako –  1.0.7+ds1-1ubuntu0.2+esm1  
16.04 LTS xenial python-mako –  1.0.3+ds1-1ubuntu1+esm2  
python3-mako –  1.0.3+ds1-1ubuntu1+esm2  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›