CVE-2026-41205

NameCVE-2026-41205
DescriptionMako 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1134729

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mako (PTS)bullseye1.1.3+ds1-2vulnerable
bullseye (security)1.1.3+ds1-2+deb11u1vulnerable
bookworm1.2.4+ds-1vulnerable
trixie1.3.9-1vulnerable
forky, sid1.3.10-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
makosource(unstable)(unfixed)1134729

Notes

https://github.com/sqlalchemy/mako/security/advisories/GHSA-v92g-xgxw-vvmm

Search for package or bug name: Reporting problems