VYPR
High severity7.5NVD Advisory· Published Apr 23, 2026· Updated Apr 28, 2026

CVE-2026-41205

CVE-2026-41205

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
MakoPyPI
< 1.3.111.3.11

Affected products

1
  • cpe:2.3:a:sqlalchemy:mako:*:*:*:*:*:*:*:*
    Range: <1.3.11

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.