THREAT OPS › Threat News › [GHSA] GHSA-h7ww-273w-6cm8 (high) — Mistune: Path Traversal and XSS in Include directive
[GHSA] GHSA-h7ww-273w-6cm8 (high) — Mistune: Path Traversal and XSS in Include directive
GHSA-h7ww-273w-6cm8 Severity: high CVE: CVE-2026-115355
Mistune: Path Traversal and XSS in Include directive
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
Indicators of compromise
- CVE-2026-115355cve
Original source: https://github.com/advisories/GHSA-h7ww-273w-6cm8