CVE-2026-115354 Details
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.
A path traversal vulnerability has been identified in Mistune versions prior to 3.3.0, specifically within the opt-in Include directive. This vulnerability allows attackers to read local files by providing relative or absolute include paths. When Markdown files are rendered using the Markdown.read() method, attackers can exploit this vulnerability to access sensitive files such as /etc/passwd. Additionally, the vulnerability allows for the injection of unescaped HTML or script content into the rendered output.
Users are advised to update Mistune to version 3.3.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2026CISA-ADP
Assessed Oct 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/lepture/mistune/security/advisories/GHSA-jhcm-5rpf-j3wv | CISA-ADP | AdvisoryExploitVendor |
| https://github.com/lepture/mistune/security/advisories/GHSA-jhcm-5rpf-j3wv | [email protected] | AdvisoryExploitVendor |
| https://www.vulncheck.com/advisories/mistune-before-3.3.0-arbitrary-local-file-read-via-include-directive | [email protected] | AdvisoryVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Mistune | >= 0, < 3.3.0 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 29, 2026 | CVE Modified | CISA-ADP |
| Oct 22, 2026 | New CVE Received | [email protected] |
Volerion