---
id: CVE-2026-7159
aliases:
  - GHSA-wfr3-hf93-qgg3
  - PYSEC-2026-2653
title: mkdocs-mcp-plugin has a Path Traversal issue
summary: mkdocs-mcp-plugin has a Path Traversal issue
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'
vendor: mkdocs-mcp-plugin
product: mkdocs-mcp-plugin
ecosystem: pip
affected:
  - mkdocs-mcp-plugin <= 0.4.1
published: '2026-04-28'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-wfr3-hf93-qgg3'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-7159'
  - url: 'https://github.com/douinc/mkdocs-mcp-plugin/issues/6'
  - url: >-
      https://github.com/douinc/mkdocs-mcp-plugin/issues/6#issuecomment-4223718119
  - url: 'https://github.com/douinc/mkdocs-mcp-plugin'
  - url: 'https://vuldb.com/submit/802063'
  - url: 'https://vuldb.com/vuln/359758'
  - url: 'https://vuldb.com/vuln/359758/cti'
tags:
  - osv
  - pip
epss: 0.00426
epssPercentile: 0.36485
ingestedAt: '2026-07-13T18:58:04.503Z'
---

## Overview

A vulnerability was found in douinc mkdocs-mcp-plugin up to 0.4.1. This affects the function read_document/list_documents of the file server.py. Performing a manipulation of the argument docs_dir/file_path results in path traversal. The attack is possible to be carried out remotely. The exploit has been made public and could be used. The vendor confirms, that the "fix will be published within a few days."

## Affected packages

- `mkdocs-mcp-plugin <= 0.4.1`

## Remediation

Refer to the advisory for the patched release.
