CVE-2026-59927: Mistune is a Python Markdown parser with renderers and plugins
CVE-2026-59927 is a medium-severity flaw (CVSS 5.3) affecting mistune. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the Include directive in src/mistune/directives/include.py detects only direct self-includes and not indirect cycles, allowing two markdown files that include each other to trigger unbounded recursion, raise RecursionError, and crash the rendering request. This issue is fixed in version 3.3.0.
Why this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-59927?
mistune: upgrade to 3.3.0. Exact commands for each OS are on this page.
Is CVE-2026-59927 being exploited?
CVE-2026-59927 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-59927 affect?
CVE-2026-59927 affects mistune. Severity is medium (CVSS 5.3). Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the Include directive in src/mistune/directives/include.py detects only direct self-includes and not indirect cycles, allowing two markdown files that include e
How urgent is CVE-2026-59927?
Priority 40/100. Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-59922 HIGH 7.5 UPGRADE Mistune is a Python Markdown parser with renderers and plugins
- CVE-2026-59925 HIGH 7.5 UPGRADE Mistune is a Python Markdown parser with renderers and plugins
- CVE-2026-59928 HIGH 7.5 UPGRADE Mistune is a Python Markdown parser with renderers and plugins
- CVE-2026-59924 MEDIUM 5.9 UPGRADE Mistune is a Python Markdown parser with renderers and plugins
- CVE-2026-59923 MEDIUM 6.1 UPGRADE Mistune is a Python Markdown parser with renderers and plugins