PT-2026-56518 · Pypi · Mistune

·

CVE-2026-59927

·

Published

2026-07-08

·

Updated

2026-07-20

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions Mistune versions prior to 3.3.0
Description The Include directive in src/mistune/directives/include.py only detects direct self-includes and fails to identify indirect cycles. This allows two markdown files that include each other to trigger unbounded recursion, resulting in a RecursionError and crashing the rendering request.
Recommendations Update to version 3.3.0.

Exploit

Fix

DoS

Uncontrolled Recursion

Improper Handling of Exceptional Conditions

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-59927
ECHO-4FD8-A362-A349
GHSA-8MPJ-M6QM-5QR8
OPENSUSE-SU-2026:21339-1
PYSEC-2026-2215
SUSE-SU-2026:22655-1

Affected Products

Mistune