CVE-2026-115353: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in lepture mistune
Description
Mistune versions before 3.3.0 contain a critical path traversal vulnerability in the RST include directive. This flaw allows attackers to read arbitrary files by using relative or absolute paths in markdown include directives. Exploitation can lead to exposure of sensitive files such as credentials or environment data embedded in rendered HTML.
CVSS v4.0
Score 9.2critical
Affected software
lepture
mistune
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-115353 is a path traversal vulnerability in the Mistune markdown parser (lepture project) affecting all versions prior to 3.3.0. The vulnerability exists in the RST include directive, which improperly restricts pathname inputs. Attackers can craft markdown content with include directives referencing '../' sequences or absolute file paths to read arbitrary files on the host system. This can result in disclosure of sensitive information embedded in the rendered HTML output.
Potential Impact
Successful exploitation allows an unauthenticated attacker to read arbitrary files on the server running Mistune by supplying malicious markdown input. This can lead to exposure of sensitive data such as credentials or environment variables, potentially compromising the confidentiality of the system.
Mitigation Recommendations
Upgrade Mistune to version 3.3.0 or later, where this path traversal vulnerability has been fixed. No other mitigation is indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-22T11:20:02.626Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ada64a04d27ba8daa755e5d
Added to database: 10/22/2026, 19:31:44 UTC
Last enriched: 10/22/2026, 20:45:26 UTC
Last updated: 10/22/2026, 21:35:31 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.