Skip to content

CVE-2026-41205 Mako: Path traversal via double-slash URI prefix in TemplateLookup

HighCVSS 7.7 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

17 packages: 6 fixed, 11 with no fix yet.

PackageAffectedFixed inStatus
cbl-mariner python-mako(CBL-Mariner 2.0) All versions No fix listed No fix yet
debian/mako(Debian 12) = 1.2.4+ds-1; = 1.2.4+ds-2; = 1.3.1-1; = 1.3.2-1 +10 more No fix listed No fix yet
debian/mako(Debian 13) = 1.3.9-1; = 1.3.10-1; = 1.3.10-2; = 1.3.10-3 +1 more No fix listed No fix yet
debian/mako(Debian 14) = 1.3.9-1; = 1.3.10-1; = 1.3.10-2; = 1.3.10-3 +1 more No fix listed No fix yet
redhat/mta/mta-solution-server-rhel9(Red Hat migration_toolkit_applications 8) All versions No fix listed No fix yet
redhat/quay/quay-rhel8(Red Hat quay 3) All versions No fix listed No fix yet
redhat/quay/quay-rhel9(Red Hat quay 3) All versions No fix listed No fix yet
redhat/resource-agents(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/rhoai/odh-mlflow-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-training-cuda128-torch29-py312-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/satellite/iop-host-inventory-rhel9(Red Hat satellite 6) All versions No fix listed No fix yet
azure linux python-mako(Azure Linux 3.0) < 1.2.4-3 1.2.4-3 Fixed
pypi mako(PyPI) < 1.3.11; <= 1.3.10; = 0.1.0; = 0.1.1 +75 more 1.3.11 Fixed
sqlalchemy mako < 1.3.11; = < 1.3.11 1.3.11 Fixed
ubuntu/mako(Ubuntu 22.04) < 1.1.3+ds1-2ubuntu0.2 1.1.3+ds1-2ubuntu0.2 Fixed
ubuntu/mako(Ubuntu 24.04) < 1.3.2-1ubuntu0.1 1.3.2-1ubuntu0.1 Fixed
ubuntu/mako(Ubuntu 26.04) < 1.3.10-3ubuntu0.1 1.3.10-3ubuntu0.1 Fixed

Affected products

ProductAffected versionsFixed in
sqlalchemy mako = < 1.3.11 No fix listed
debian/mako(Debian:12) All versions No fix listed
debian/mako(Debian:14) All versions No fix listed
debian/mako(Debian:13) All versions No fix listed
pypi mako(PyPI) < 1.3.11 1.3.11
pypi mako(PyPI) = 0.1.0 No fix listed
pypi mako(PyPI) = 0.1.1 No fix listed
pypi mako(PyPI) = 0.1.10 No fix listed
pypi mako(PyPI) = 0.1.2 No fix listed
pypi mako(PyPI) = 0.1.3 No fix listed
pypi mako(PyPI) = 0.1.4 No fix listed
pypi mako(PyPI) = 0.1.5 No fix listed
pypi mako(PyPI) = 0.1.6 No fix listed
pypi mako(PyPI) = 0.1.7 No fix listed
pypi mako(PyPI) = 0.1.8 No fix listed
pypi mako(PyPI) = 0.1.9 No fix listed
pypi mako(PyPI) = 0.2.0 No fix listed
pypi mako(PyPI) = 0.2.1 No fix listed
pypi mako(PyPI) = 0.2.2 No fix listed
pypi mako(PyPI) = 0.2.3 No fix listed
pypi mako(PyPI) = 0.2.4 No fix listed
pypi mako(PyPI) = 0.2.5 No fix listed
pypi mako(PyPI) = 0.3.0 No fix listed
pypi mako(PyPI) = 0.3.1 No fix listed
pypi mako(PyPI) = 0.3.2 No fix listed
Show 92 more
ProductAffected versionsFixed in
pypi mako(PyPI) = 0.3.3 No fix listed
pypi mako(PyPI) = 0.3.4 No fix listed
pypi mako(PyPI) = 0.3.5 No fix listed
pypi mako(PyPI) = 0.3.6 No fix listed
pypi mako(PyPI) = 0.4.0 No fix listed
pypi mako(PyPI) = 0.4.1 No fix listed
pypi mako(PyPI) = 0.4.2 No fix listed
pypi mako(PyPI) = 0.5.0 No fix listed
pypi mako(PyPI) = 0.6.0 No fix listed
pypi mako(PyPI) = 0.6.1 No fix listed
pypi mako(PyPI) = 0.6.2 No fix listed
pypi mako(PyPI) = 0.7.0 No fix listed
pypi mako(PyPI) = 0.7.1 No fix listed
pypi mako(PyPI) = 0.7.2 No fix listed
pypi mako(PyPI) = 0.7.3 No fix listed
pypi mako(PyPI) = 0.8.0 No fix listed
pypi mako(PyPI) = 0.8.1 No fix listed
pypi mako(PyPI) = 0.9.0 No fix listed
pypi mako(PyPI) = 0.9.1 No fix listed
pypi mako(PyPI) = 1.0.0 No fix listed
pypi mako(PyPI) = 1.0.1 No fix listed
pypi mako(PyPI) = 1.0.10 No fix listed
pypi mako(PyPI) = 1.0.11 No fix listed
pypi mako(PyPI) = 1.0.12 No fix listed
pypi mako(PyPI) = 1.0.13 No fix listed
pypi mako(PyPI) = 1.0.14 No fix listed
pypi mako(PyPI) = 1.0.2 No fix listed
pypi mako(PyPI) = 1.0.3 No fix listed
pypi mako(PyPI) = 1.0.4 No fix listed
pypi mako(PyPI) = 1.0.5 No fix listed
pypi mako(PyPI) = 1.0.6 No fix listed
pypi mako(PyPI) = 1.0.7 No fix listed
pypi mako(PyPI) = 1.0.8 No fix listed
pypi mako(PyPI) = 1.0.9 No fix listed
pypi mako(PyPI) = 1.1.0 No fix listed
pypi mako(PyPI) = 1.1.1 No fix listed
pypi mako(PyPI) = 1.1.2 No fix listed
pypi mako(PyPI) = 1.1.3 No fix listed
pypi mako(PyPI) = 1.1.4 No fix listed
pypi mako(PyPI) = 1.1.5 No fix listed
pypi mako(PyPI) = 1.1.6 No fix listed
pypi mako(PyPI) = 1.2.0 No fix listed
pypi mako(PyPI) = 1.2.1 No fix listed
pypi mako(PyPI) = 1.2.2 No fix listed
pypi mako(PyPI) = 1.2.3 No fix listed
pypi mako(PyPI) = 1.2.4 No fix listed
pypi mako(PyPI) = 1.3.0 No fix listed
pypi mako(PyPI) = 1.3.1 No fix listed
pypi mako(PyPI) = 1.3.10 No fix listed
pypi mako(PyPI) = 1.3.2 No fix listed
pypi mako(PyPI) = 1.3.3 No fix listed
pypi mako(PyPI) = 1.3.4 No fix listed
pypi mako(PyPI) = 1.3.5 No fix listed
pypi mako(PyPI) = 1.3.6 No fix listed
pypi mako(PyPI) = 1.3.7 No fix listed
pypi mako(PyPI) = 1.3.8 No fix listed
pypi mako(PyPI) = 1.3.9 No fix listed
azure linux python-mako(Azure Linux:3.0) < 1.2.4-3 1.2.4-3
cbl-mariner python-mako(CBL-Mariner:2.0) All versions No fix listed
pypi mako(PyPI) <= 1.3.10 No fix listed
debian/mako(Debian:12) = 1.2.4+ds-1 No fix listed
debian/mako(Debian:12) = 1.2.4+ds-2 No fix listed
debian/mako(Debian:12) = 1.3.1-1 No fix listed
debian/mako(Debian:12) = 1.3.10-1 No fix listed
debian/mako(Debian:12) = 1.3.10-2 No fix listed
debian/mako(Debian:12) = 1.3.10-3 No fix listed
debian/mako(Debian:12) = 1.3.2-1 No fix listed
debian/mako(Debian:12) = 1.3.5-1 No fix listed
debian/mako(Debian:12) = 1.3.5-1.1 No fix listed
debian/mako(Debian:12) = 1.3.6-1 No fix listed
debian/mako(Debian:12) = 1.3.8-1 No fix listed
debian/mako(Debian:12) = 1.3.8-2 No fix listed
debian/mako(Debian:12) = 1.3.9-1 No fix listed
debian/mako(Debian:13) = 1.3.10-1 No fix listed
debian/mako(Debian:13) = 1.3.10-2 No fix listed
debian/mako(Debian:13) = 1.3.10-3 No fix listed
debian/mako(Debian:13) = 1.3.9-1 No fix listed
debian/mako(Debian:14) = 1.3.10-1 No fix listed
debian/mako(Debian:14) = 1.3.10-2 No fix listed
debian/mako(Debian:14) = 1.3.10-3 No fix listed
debian/mako(Debian:14) = 1.3.9-1 No fix listed
redhat/mta/mta-solution-server-rhel9(Red Hat:migration_toolkit_applications:8) All versions No fix listed
redhat/resource-agents(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/rhoai/odh-mlflow-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-training-cuda128-torch29-py312-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/quay/quay-rhel8(Red Hat:quay:3) All versions No fix listed
redhat/quay/quay-rhel9(Red Hat:quay:3) All versions No fix listed
redhat/satellite/iop-host-inventory-rhel9(Red Hat:satellite:6) All versions No fix listed
ubuntu/mako(Ubuntu:22.04) < 1.1.3+ds1-2ubuntu0.2 1.1.3+ds1-2ubuntu0.2
ubuntu/mako(Ubuntu:24.04) < 1.3.2-1ubuntu0.1 1.3.2-1ubuntu0.1
ubuntu/mako(Ubuntu:26.04) < 1.3.10-3ubuntu0.1 1.3.10-3ubuntu0.1
sqlalchemy mako < 1.3.11 1.3.11

References