Directory Traversal Affecting python3-Mako package, versions <1.0.7-150000.3.6.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.38% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES154-PYTHON3MAKO-16712369
  • published16 May 2026
  • disclosed12 May 2026

Introduced: 12 May 2026

CVE-2026-41205  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade SLES:15.4 python3-Mako to version 1.0.7-150000.3.6.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-Mako package and not the python3-Mako package as distributed by SLES. See How to fix? for SLES:15.4 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1