Home

Description

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.

PUBLISHED Reserved 2026-07-07 | Published 2026-07-08 | Updated 2026-07-08 | Assigner GitHub_M




MEDIUM: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Problem types

CWE-674: Uncontrolled Recursion

CWE-755: Improper Handling of Exceptional Conditions

Product status

< 3.3.0
affected

References

github.com/...istune/security/advisories/GHSA-8mpj-m6qm-5qr8

github.com/...ommit/1bef343ade163fc3bb95572b15be720084cdb993

github.com/lepture/mistune/releases/tag/v3.3.0

cve.org (CVE-2026-59927)

nvd.nist.gov (CVE-2026-59927)

Download JSON