PYSEC-2026-2212

En bref

Publiée
Mise à jour
CVE
CVE-2026-59924
Alias
GHSA-r4rv-85jg-w4mf
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Description

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Include.parse() joins and normalizes user-supplied include paths without verifying that the result remains within the intended markdown directory, allowing crafted include paths to access files outside that directory when markdown files are processed using md.read(). This issue is fixed in version 3.3.0.

Paquets affectés

PaquetVersions
PyPI · mistuneintroduced 0, fixed 3.3.0

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database