CVE-2026-59927
MEDIUMMistune < 3.3.0 Include Directive - Uncontrolled Recursion Denial of Service
Title source: manualDescription
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.
References (3)
Core 3
Core References
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
X_Refsource_Confirm x_refsource_confirm
https://github.com/lepture/mistune/security/advisories/GHSA-8mpj-m6qm-5qr8
Scores
CVSS v3
5.3
EPSS
0.0035
EPSS Percentile
27.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-674
CWE-755
Status
published
Products (3)
lepture/mistune
< 3.3.0
mistune_project/mistune
< 3.3.0
pypi/mistune
0 - 3.3.0PyPI
Published
Jul 08, 2026
Tracked Since
Jul 08, 2026