CVE-2026-115355: Mistune · Path Traversal and XSS in Include directive
Affects adr-viewerSource GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 1.4.0_6 soon.
Data as of 26 Oct 2026, 18:58 UTC
- Patch
- Available – fixed in 1.4.0_6
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade adr-viewer to 1.4.0_6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewadr-viewerpkg:brew/adr-viewerOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The Include directive in `src/mistune/directives/include.py` does not validate that the resolved file path stays within the source directory, allowing path traversal via `../` sequences to read arbitrary files. Additionally, error messages and included file contents are rendered without HTML escaping, leading to XSS even when `escape=True`. Affected functions: - Path resolution (lines 27-31) - `block_error()` in html.py (line 140) - `render_html_include()` (line 72) The Include plugin must be explicitly enabled via the plugins parameter.
References
- github.com/lepture/mistune/security/advisories/GHSA-h7ww-273w-6cm8 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-115355 (opens in a new tab)
- github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993 (opens in a new tab)
- github.com/lepture/mistune (opens in a new tab)
- github.com/lepture/mistune/releases/tag/v3.3.0 (opens in a new tab)
- vulncheck.com/advisories/mistune-before-3.3.0-path-traversal-and-xss-via-include-directive (opens in a new tab)