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.
CVE-2026-59927
This medium-severity CVE scores 5.3 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 77% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.3
- EG Score
- 5.3(medium)
- EPSS
- 22.6%
- KEV
- Not listed
Published
July 8, 2026
Last Modified
July 9, 2026
Advisory Details (3)
Auto-updated Jul 8, 2026directives/include: mutual `.. include::` recursion crashes the renderer with `RecursionError`, denial of service via two attacker-controlled markdown files · Advisory · lepture/mistune · GitHub
https://github.com/lepture/mistune/security/advisories/GHSA-8mpj-m6qm-5qr8v3.3.0
Patch available: lepture/mistune v3.3.0
https://github.com/lepture/mistune/releases/tag/v3.3.0commit 1bef343ade16 (lepture/mistune)
Patch available: lepture/mistune v3.3.0 (contains commit 1bef343ade16)
https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 10× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 18:46 UTCEG score recompute
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 18:10 UTCEG score recompute
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 17:33 UTCEG score recompute
- 2026-07-08 16:56 UTCEG score recompute
- 2026-07-08 16:55 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-59927?
When was CVE-2026-59927 disclosed?
Is CVE-2026-59927 actively exploited?
What is the CVSS score of CVE-2026-59927?
How do I remediate CVE-2026-59927?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-59927
Is Your Infrastructure Affected by CVE-2026-59927?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.