---
id: CVE-2026-115353
title: Mistune before 3.3.0 Path Traversal via include Directive
summary: >-
  Mistune before 3.3.0 contains a path traversal vulnerability in the RST
  include directive that allows attackers to read arbitrary files by supplying
  relative or absolute paths. Attackers can submit markdown containing include
  directives …
severity: high
cvss: 8.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-22
vendor: lepture
product: mistune
affected:
  - mistune < 3.3.0
published: '2026-10-22'
updated: '2026-10-22'
sourceUpdated: '2026-10-22T19:13:30.422Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115353'
references:
  - url: 'https://github.com/lepture/mistune/security/advisories/GHSA-9jjx-3hq3-hx4j'
    label: GitHub Security Advisory (GHSA-9jjx-3hq3-hx4j)
  - url: >-
      https://www.vulncheck.com/advisories/mistune-before-3.3.0-path-traversal-via-include-directive
    label: >-
      VulnCheck Advisory: Mistune before 3.3.0 Path Traversal via include
      Directive
tags:
  - cve.org
ingestedAt: '2026-10-22T22:00:50.397Z'
---

## Overview

Mistune before 3.3.0 contains a path traversal vulnerability in the RST include directive that allows attackers to read arbitrary files by supplying relative or absolute paths. Attackers can submit markdown containing include directives referencing ../ sequences or absolute paths to embed sensitive files like credentials or environment data in rendered HTML.

## Affected

- `mistune < 3.3.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
