NetSight
medium5.9

CVE-2026-59924

Mistune: Arbitrary File Read via Include directive path traversal

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pipmistune< 3.3.03.3.0

Affected products

VendorProductAffected versions
Mistune ProjectMistune
before 3.3.0

Weakness classification

References