CVE-2026-41205

HIGH CVSS 4.0: 7.7 EPSS 0.38%
Updated Oct 27, 2026
Sqlalchemy
Parameter Value
CVSS 7.7 (HIGH)
Affected Versions before 1.3.11
Fixed In 1.3.11
Type CWE-22 (Path Traversal)
Vendor Sqlalchemy
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Sqlalchemy Mako
cpe:2.3:a:sqlalchemy:mako:*:*:*:*:*:*:*:*
— 1.3.11