CVE-2026-59924
Mistune: Arbitrary File Read via Include directive path traversal
MEDIUM 5.9EPSS 0.5%
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
- lepture · mistune
- CVSS v3.1 GITHUB
- 5.9 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - EPSS
- 0.46% chance of exploitation in the next 30 days, 39th percentile
- Published
- 2026-07-08
Proof-of-concept exploits (1)
Security advisories
- lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf
- lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993