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.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993 Patch
- https://github.com/lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf Exploit, Vendor Advisory
- https://github.com/lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.9 · mistune_projectNVD modified 2026-10-25 17:10
Affected (CPE criteria) 1
cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*
References 4
- https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993 Patch
- https://github.com/lepture/mistune/releases/tag/v3.3.0 Release Notes
- https://github.com/lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf Exploit, Vendor Advisory
- https://github.com/lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf Exploit, Vendor Advisory