CVE-2026-59924
MEDIUMMistune: Arbitrary File Read via Include directive path traversal
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf
X_Refsource_Misc x_refsource_misc
https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993
X_Refsource_Misc x_refsource_misc
https://github.com/lepture/mistune/releases/tag/v3.3.0
Scores
CVSS v3
5.9
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (1)
lepture/mistune
< 3.3.0
Published
Jul 08, 2026
Tracked Since
Jul 08, 2026