Quick answers
- Is CVE-2026-115353 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-115353 being exploited in the wild.
- How severe is CVE-2026-115353?
- High severity, with a CVSS score of 8.6, published 22 October 2026.
- Which products and versions are affected?
- Lepture Mistune before 3.3.0.
- Is there a fix for CVE-2026-115353?
- Yes: fixed in 3.3.0. Until then: Disable the Include directive plugin if not required, or restrict markdown rendering to trusted sources only. Applications should avoid setting state.env['__file__'] or limit it to a restricted base directory that contains only safe files to be included. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-115353 attacked?
- It is attacked over the network.
- Am I affected by CVE-2026-115353?
- Check whether you run Lepture Mistune at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- Fixed in: 3.3.0
Disable the Include directive plugin if not required, or restrict markdown rendering to trusted sources only. Applications should avoid setting state.env['__file__'] or limit it to a restricted base directory that contains only safe files to be included.
Technical details
The vulnerability is a path traversal flaw in src/mistune/directives/include.py where the include directive accepts unconstrained relative and absolute file paths from markdown source without validating that the resolved path remains within an intended base directory. The vulnerable code uses os.path.normpath and os.path.join but fails to enforce path containment; os.path.join discards prior path components when given an absolute path, and relative traversal sequences like ../ are normalized but not prevented. An attacker can read any file accessible to the rendering process by submitting markdown like `.. include:: /etc/passwd` or `.. include:: ../../../sensitive/file`, causing the plugin to embed file contents in the rendered HTML output.
Affected products
- lepture mistune before 3.3.0
Timeline
- 2026-06-21: disclosed
- 2026-10-22: advisory