6.5Medium
CVE-2026-115354Mistune before 3.3.0 Arbitrary Local File Read via Include Directive
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
| Vendor | Product | Versions | |
|---|---|---|---|
| lepture | mistune | < 3.3.0, fixed 3.3.0 | |
| mistune project | mistune | < 3.3.0 |
References and patches
- GitHub Security Advisory (GHSA-jhcm-5rpf-j3wv) vendor-advisory
- VulnCheck Advisory: Mistune before 3.3.0 Arbitrary Local File Read via Include Directive third-party-advisory