What’s Vulnerable › Vulnerabilities

CVE-2026-115354: Mistune 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.

Affected products

How to fix

Upgrade to a fixed version: lepture mistune 3.3.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-115354 or the next vulnerability affects your stack