Path Traversal in Lepture Mistune
CVE-2026-59924
- CVSS v3
- 5.9 Medium
- Public exploits
- 1 repository
- EPSS
- 0.005 · 40.9th percentile
- Published
- 2026-07-08
What to do
- Fixed in
3.3.0- Affected
- 2 affected products
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.005, 40.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Lepture Mistune — versions < 3.3.0
- Mistune Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- 0x5t4l1n/CVE-2026-59924 (last pushed 2026-11-22): CVE-2026-59924 — Mistune include-directive path traversal / arbitrary file read (GHSA-r4rv-85jg-w4mf, CWE-22). Verified PoC.