Skip to content
CVE PROGRAM SOURCE RECORD5.9 Medium

CVE-2026-59924

Mistune: Arbitrary File Read via Include directive path traversal

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

lepture mistune

  • < 3.3.0affected

References