CVE-2026-41205

HIGHCVSS 7.5/10EPSS 0.36%

Last modified

CVE-2026-41205 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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). EPSS estimates a 0.36% chance of exploitation in the next 30 days.

Description

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.

Metrics

Weakness Enumeration

Affected Software

VendorProductVersions
SqlalchemyMako< 1.3.11

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2026-41205?
CVE-2026-41205 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 0.36% probability of exploitation in the next 30 days.
How do I fix CVE-2026-41205?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-41205?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST