CVE-2026-41205
HIGHMako: Path traversal via double-slash URI prefix in TemplateLookup
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/sqlalchemy/mako/security/advisories/GHSA-v92g-xgxw-vvmm
X_Refsource_Misc x_refsource_misc
https://github.com/sqlalchemy/mako/commit/e05ac61989a7fb9dd7dcde6cfd72dc48328719a3
X_Refsource_Misc x_refsource_misc
https://github.com/sqlalchemy/mako/releases/tag/rel_1_3_11
Scores
CVSS v3
7.5
EPSS
0.0036
EPSS Percentile
27.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (2)
pypi/Mako
0 - 1.3.11PyPI
sqlalchemy/mako
< 1.3.11 (2 CPE variants)
Published
Apr 23, 2026
Tracked Since
Apr 24, 2026