Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Mistune versions before 3.3.0 are affected. The Include directive does not check that resolved file paths stay within the source directory, and error messages and included file contents are rendered without HTML escaping, even when escape=True. An attacker who can supply Markdown content can use path traversal to read arbitrary files, or inject cross-site scripting. The Include plugin must be explicitly enabled for this to apply. Upgrade mistune to version 3.3.0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.7 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0046, the 40th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:08 UTC First seen by agentprime
- 31 Oct 2026, 14:08 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-h7ww-273w-6cm8
- OSV: GHSA-h7ww-273w-6cm8
- github.com/lepture/mistune/security/advisories/GHSA-h7ww-273w-6cm8
- nvd.nist.gov/vuln/detail/CVE-2026-115355
- github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993
- github.com/lepture/mistune
- github.com/lepture/mistune/releases/tag/v3.3.0
- www.vulncheck.com/advisories/mistune-before-3.3.0-path-traversal-and-xss-via-include-directive