mako
Affected
- introduced
0, fixed1.3.11(ecosystem)
Fixed versions
1.3.11
Fix
- Fixed version
1.3.11pip install --upgrade mako==1.3.11
Advisory
Also known as: CVE-2026-41205, GHSA-v92g-xgxw-vvmm
The record has no summary.
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.
High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
0, fixed 1.3.11 (ecosystem)1.3.11
1.3.11pip install --upgrade mako==1.3.11Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0