UBUNTU-CVE-2026-41205

Source
https://ubuntu.com/security/CVE-2026-41205
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41205.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-41205
Upstream
Downstream
Related
Published
2026-04-24T00:00:00Z
Modified
2026-05-20T16:25:40Z
Severity
  • 7.7 (High) CVSS_V4 - 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 CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:22.04:LTS
mako

Package

Name
mako
Purl
pkg:deb/ubuntu/mako?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.1.3+ds1-2ubuntu0.2

Affected versions

1.*
1.1.3+ds1-2
1.1.3+ds1-2ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "python3-mako",
            "binary_version": "1.1.3+ds1-2ubuntu0.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41205.json"
Ubuntu:24.04:LTS
mako

Package

Name
mako
Purl
pkg:deb/ubuntu/mako?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.3.2-1ubuntu0.1

Affected versions

1.*
1.2.4+ds-2
1.3.1-1
1.3.2-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "python3-mako",
            "binary_version": "1.3.2-1ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41205.json"
Ubuntu:25.10
mako

Package

Name
mako
Purl
pkg:deb/ubuntu/mako?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.3.9-1ubuntu0.1

Affected versions

1.*
1.3.8-2
1.3.9-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "python3-mako",
            "binary_version": "1.3.9-1ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41205.json"
Ubuntu:26.04:LTS
mako

Package

Name
mako
Purl
pkg:deb/ubuntu/mako?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.3.10-3ubuntu0.1

Affected versions

1.*
1.3.9-1
1.3.10-3
1.3.10-3build1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "python3-mako",
            "binary_version": "1.3.10-3ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41205.json"
Ubuntu:Pro:16.04:LTS
mako

Package

Name
mako
Purl
pkg:deb/ubuntu/mako?arch=source&distro=esm-infra%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.3+ds1-1ubuntu1+esm2

Affected versions

1.*
1.0.2+ds1-1
1.0.3+ds1-1
1.0.3+ds1-1ubuntu1
1.0.3+ds1-1ubuntu1+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python-mako",
            "binary_version": "1.0.3+ds1-1ubuntu1+esm2"
        },
        {
            "binary_name": "python3-mako",
            "binary_version": "1.0.3+ds1-1ubuntu1+esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41205.json"
Ubuntu:Pro:18.04:LTS
mako

Package

Name
mako
Purl
pkg:deb/ubuntu/mako?arch=source&distro=esm-infra%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.7+ds1-1ubuntu0.2+esm1

Affected versions

1.*
1.0.7+ds1-1
1.0.7+ds1-1ubuntu0.2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python-mako",
            "binary_version": "1.0.7+ds1-1ubuntu0.2+esm1"
        },
        {
            "binary_name": "python3-mako",
            "binary_version": "1.0.7+ds1-1ubuntu0.2+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41205.json"
Ubuntu:Pro:20.04:LTS
mako

Package

Name
mako
Purl
pkg:deb/ubuntu/mako?arch=source&distro=esm-infra%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.1.0+ds1-1ubuntu2.1+esm1

Affected versions

1.*
1.0.7+ds1-1
1.1.0+ds1-1
1.1.0+ds1-1ubuntu1
1.1.0+ds1-1ubuntu2
1.1.0+ds1-1ubuntu2.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python-mako",
            "binary_version": "1.1.0+ds1-1ubuntu2.1+esm1"
        },
        {
            "binary_name": "python3-mako",
            "binary_version": "1.1.0+ds1-1ubuntu2.1+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41205.json"