6.5Medium

CVE-2026-115354Mistune before 3.3.0 Arbitrary Local File Read via Include Directive

lepture mistune Published: (28 days ago)

Description

Mistune before 3.3.0 contains a path traversal vulnerability in the opt-in Include directive that allows attackers to read local files by supplying relative or absolute include paths. Attackers who submit Markdown rendered via Markdown.read() can disclose files such as /etc/passwd and inject unescaped HTML or script content into rendered output.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
lepture mistune < 3.3.0, fixed 3.3.0
mistune project mistune < 3.3.0

References and patches