CVE-2026-41205
Mako: Path traversal via double-slash URI prefix in TemplateLookup
7.5
HIGH
CVSS 3.1
EPSS 0.09%
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.
How to fix CVE-2026-41205
To remediate CVE-2026-41205, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 1.3.11 or later
- —upgrade to 1.3.11 or later
Is CVE-2026-41205 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0
- from 0, < 1.3.11
- from 0, < 1.3.11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |