---
id: CVE-2026-115354
title: Mistune before 3.3.0 Arbitrary Local File Read via Include Directive
summary: >-
  Mistune before 3.3.0 contains a path traversal vulnerability in the opt-in
  Include directive that allows attackers to read local files by supplying
  relative or absolute include paths. Attackers who submit Markdown rendered via
  Markdown.r…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-22
vendor: lepture
product: mistune
affected:
  - mistune < 3.3.0
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-29T02:25:25.823823Z'
exploitAvailable: true
published: '2026-10-22'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T02:25:47.787Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115354'
references:
  - url: 'https://github.com/lepture/mistune/security/advisories/GHSA-jhcm-5rpf-j3wv'
    label: GitHub Security Advisory (GHSA-jhcm-5rpf-j3wv)
  - url: >-
      https://www.vulncheck.com/advisories/mistune-before-3.3.0-arbitrary-local-file-read-via-include-directive
    label: >-
      VulnCheck Advisory: Mistune before 3.3.0 Arbitrary Local File Read via
      Include Directive
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-115354.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-115354'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2559342'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-115354'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-115354'
tags:
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
epss: 0.0047
epssPercentile: 0.40648
ingestedAt: '2026-10-22T22:00:50.396Z'
---

## Overview

Mistune before 3.3.0 contains a path traversal vulnerability in the opt-in Include directive that allows attackers to read local files by supplying relative or absolute include paths. Attackers who submit Markdown rendered via Markdown.read() can disclose files such as /etc/passwd and inject unescaped HTML or script content into rendered output.

## Affected

- `mistune < 3.3.0`

## Remediation

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

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat OpenShift AI (RHOAI), Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat OpenShift AI (RHOAI), Red Hat OpenShift Container Platform 4 · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-115354.json)
