{"id":"DEBIAN-CVE-2026-41205","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.","modified":"2026-09-01T16:06:42.313524140Z","published":"2026-04-23T19:17:29.270Z","upstream":["CVE-2026-41205"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-41205"}],"affected":[{"package":{"name":"mako","ecosystem":"Debian:12","purl":"pkg:deb/debian/mako?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.4+ds-1","1.2.4+ds-2","1.3.1-1","1.3.10-1","1.3.10-2","1.3.10-3","1.3.2-1","1.3.5-1","1.3.5-1.1","1.3.6-1","1.3.8-1","1.3.8-2","1.3.9-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41205.json"}},{"package":{"name":"mako","ecosystem":"Debian:13","purl":"pkg:deb/debian/mako?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.10-1","1.3.10-2","1.3.10-3","1.3.9-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41205.json"}},{"package":{"name":"mako","ecosystem":"Debian:14","purl":"pkg:deb/debian/mako?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.10-1","1.3.10-2","1.3.10-3","1.3.9-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41205.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}