๐Ÿ” CVE Alert

CVE-2026-59927

MEDIUM 5.3

Mistune directives/include: mutual `.. include::` recursion crashes the renderer with `RecursionError`, denial of service via two attacker-controlled markdown files

CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-674 CWE-755
Vendor lepture
Product mistune
Published Jul 8, 2026
Last Updated Jul 8, 2026
Stay Ahead of the Next One

Get instant alerts for lepture mistune

Be the first to know when new medium vulnerabilities affecting lepture mistune are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Affected Versions

lepture / mistune
< 3.3.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/lepture/mistune/security/advisories/GHSA-8mpj-m6qm-5qr8 github.com: https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993 github.com: https://github.com/lepture/mistune/releases/tag/v3.3.0