PYSEC-2026-88

En bref

Publiée
Mise à jour
CVE
CVE-2026-41205
Alias
GHSA-v92g-xgxw-vvmm
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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.

Paquets affectés

PaquetVersions
PyPI · makointroduced 0, fixed 1.3.11

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database