Path Traversal in Sqlalchemy Mako
CVE-2026-41205
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (42.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 42.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.002
Affected products
- Sqlalchemy Mako — versions < 1.3.11
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-41205?
- CVE-2026-41205 is a high-severity vulnerability in Sqlalchemy Mako, classified under Path Traversal. CVSS score: 7.5/10. Published 2026-04-23.
- How severe is CVE-2026-41205?
- High severity. CVSS v3 base score is 7.5 out of 10.