Skip to main content
← All vulnerabilities
CVE-2026-59924GHSA-R4RV-85JG-W4MFPYSEC-2026-2212

Mistune: Arbitrary File Read via Include directive path traversal

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.3.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • lepture mistune

    fixed in 3.3.0

  • mistunePyPI

    fixed in 3.3.0

References 3

GitHub · lepture/mistune