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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.005 (38.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 38th percentile — 38.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Lepture Mistune — versions < 3.3.0
- Mistune Project
Weakness classification (CWE)
References
- github.com/lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf (Exploit, Vendor Advisory)
- github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993 (Patch)
- github.com/lepture/mistune/releases/tag/v3.3.0 (Release Notes)
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.