CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-674","description":"CWE-674: Uncontrolled Recursion","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2dea4e550302d69ebce53454ab7b74c0bdd09381bf9729252e0e655784477e88 · sha256:a1f51774a73c2bd4… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-755","description":"CWE-755: Improper Handling of Exceptional Conditions","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2dea4e550302d69ebce53454ab7b74c0bdd09381bf9729252e0e655784477e88 · sha256:a1f51774a73c2bd4… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"mistune","vendor":"lepture","versions":[{"status":"affected","version":"< 3.3.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2dea4e550302d69ebce53454ab7b74c0bdd09381bf9729252e0e655784477e88 · sha256:a1f51774a73c2bd4… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2dea4e550302d69ebce53454ab7b74c0bdd09381bf9729252e0e655784477e88 · sha256:a1f51774a73c2bd4… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-674","description":"CWE-674: Uncontrolled Recursion","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2dea4e550302d69ebce53454ab7b74c0bdd09381bf9729252e0e655784477e88 · sha256:a1f51774a73c2bd4… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-755","description":"CWE-755: Improper Handling of Exceptional Conditions","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2dea4e550302d69ebce53454ab7b74c0bdd09381bf9729252e0e655784477e88 · sha256:a1f51774a73c2bd4… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993","tags":["x_refsource_MISC"],"url":"https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2dea4e550302d69ebce53454ab7b74c0bdd09381bf9729252e0e655784477e88 · sha256:a1f51774a73c2bd4… · /containers/cna/references/1
{"name":"https://github.com/lepture/mistune/releases/tag/v3.3.0","tags":["x_refsource_MISC"],"url":"https://github.com/lepture/mistune/releases/tag/v3.3.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2dea4e550302d69ebce53454ab7b74c0bdd09381bf9729252e0e655784477e88 · sha256:a1f51774a73c2bd4… · /containers/cna/references/2
{"name":"https://github.com/lepture/mistune/security/advisories/GHSA-8mpj-m6qm-5qr8","tags":["x_refsource_CONFIRM"],"url":"https://github.com/lepture/mistune/security/advisories/GHSA-8mpj-m6qm-5qr8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2dea4e550302d69ebce53454ab7b74c0bdd09381bf9729252e0e655784477e88 · sha256:a1f51774a73c2bd4… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.