CVE-2026-59927

CVE-2026-59927 is a medium-severity vulnerability in Mistune Project Mistune with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-674.

Key facts

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.

Frequently asked questions

What is CVE-2026-59927?
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.
How severe is CVE-2026-59927?
CVE-2026-59927 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
Is CVE-2026-59927 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (43rd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-59927?
CVE-2026-59927 affects Mistune Project Mistune. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-59927?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2026-59927 published?
CVE-2026-59927 was published on 2026-07-08 and last updated on 2026-07-09.

References

Affected products (1)

More vulnerabilities in Mistune Project Mistune

All CVEs affecting Mistune Project Mistune →

Other CWE-674 (Uncontrolled Recursion) vulnerabilities

Browse all CWE-674 (Uncontrolled Recursion) vulnerabilities →