Path Traversal in Lepture Mistune

CVE-2026-59924

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.004 (33.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-59924?
CVE-2026-59924 is a medium-severity vulnerability in Lepture Mistune, classified under Path Traversal. CVSS score: 5.9/10. Published 2026-07-08.
How severe is CVE-2026-59924?
Medium severity. CVSS v3 base score is 5.9 out of 10.