CVE-2026-41205

EUVD-2026-25279
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.
Path Traversal
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 26%
Affected Products (NVD)
VendorProductVersion
sqlalchemymako
𝑥
< 1.3.11
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
mako
bookworm
no-dsa
bullseye
postponed
bullseye (security)
vulnerable
forky
vulnerable
sid
vulnerable
trixie
no-dsa
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
python-mako
Amazon Linux 2
0:0.8.1-2.amzn2.0.2
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
python-mako
Azure Linux 3.0
0:1.2.4-3.azl3
fixed