Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-59924— Mistune: Arbitrary File Read via Include directive path traversal

Quick assessment

Affected
lepture mistune
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Hsiaoming Yang mistune是日本Hsiaoming Yang个人开发者的一个快速、可扩展的Markdown解析器。 Hsiaoming Yang mistune 3.3.0之前版本存在路径遍历漏洞,该漏洞源于Include.parse()在拼接和规范化用户提供的include路径时未验证结果是否仍在预期markdown目录内,导致使用md.read()处理markdown文件时,特制的include路径可访问该目录之外的文件。

CVSS 5.9 · Medium EPSS 0.46% · P38

Affected Version Matrix 1

VendorProduct Version RangeStatus
lepture mistune < 3.3.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-59924

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Mistune: Arbitrary File Read via Include directive path traversal
Source: CVE Program / CVE List V5
Vulnerability Description
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Include.parse() joins and normalizes user-supplied include paths without verifying that the result remains within the intended markdown directory, allowing crafted include paths to access files outside that directory when markdown files are processed using md.read(). This issue is fixed in version 3.3.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Hsiaoming Yang mistune 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Hsiaoming Yang mistune是日本Hsiaoming Yang个人开发者的一个快速、可扩展的Markdown解析器。 Hsiaoming Yang mistune 3.3.0之前版本存在路径遍历漏洞,该漏洞源于Include.parse()在拼接和规范化用户提供的include路径时未验证结果是否仍在预期markdown目录内,导致使用md.read()处理markdown文件时,特制的include路径可访问该目录之外的文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
lepture mistune < 3.3.0 -

II. Public POCs for CVE-2026-59924

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-59924

登录查看更多情报信息。

Patches & Fixes for CVE-2026-59924 (1)

Vendor Advisories for CVE-2026-59924 (1)

Vendor Pages for CVE-2026-59924 (1)

Same Patch Batch · lepture · 2026-07-08 · 9 CVEs total

CVE-2026-59922 7.5 HIGH Mistune plugins/formatting: quadratic-time parsing on long runs of `~~x~~`, `==x==`, and `
CVE-2026-59925 7.5 HIGH inline_parser: quadratic-time parsing on long runs of `**x**` and `***x***` emphasis pairs
CVE-2026-59928 7.5 HIGH Mistune block_parser: quadratic-time parsing on long lists of repeated reference-link defi
CVE-2026-59923 6.1 MEDIUM Mistune: XSS via percent-encoded javascript URI bypass in safe_url()
CVE-2026-59929 6.1 MEDIUM Mistune renderers/html.safe_url: HARMFUL_PROTOCOLS list misses legacy and chained schemes
CVE-2026-59927 5.3 MEDIUM Mistune directives/include: mutual `.. include::` recursion crashes the renderer with `Rec
CVE-2026-59930 4.3 MEDIUM Mistune toc / TableOfContents directive: heading IDs use predictable `toc_N` numbering wit
CVE-2026-59926 Mistune: XSS via unescaped class option in Admonition directive

IV. Related Vulnerabilities

V. Comments for CVE-2026-59924

No comments yet


Leave a comment