Skip to main content

mkdocs-mcp-plugin CVE-2026-7159

| EUVDEUVD-2026-25926 MEDIUM
Path Traversal (CWE-22)
2026-04-27 VulDB
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify internet-exposed MCP server endpoint
  2. Delivery
    Craft request with path traversal in file_path argument
  3. Exploit
    read_document resolves path outside docs root
  4. Execution
    Server returns arbitrary filesystem file contents
  5. Impact
    Exfiltrate sensitive configuration or credential files

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the mkdocs-mcp-plugin MCP server (server.py) to be running and network-reachable - the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms no authentication is required and no victim interaction is needed. The attacker must be able to invoke the read_document or list_documents MCP functions with attacker-controlled argument values. No special non-default configuration is required; the flaw exists in the standard operation of the plugin across affected versions. Limiting factors: the MCP server must be externally reachable (loopback-only deployments face significantly lower risk); accessible files are bounded by the OS-level permissions of the server process (non-root deployments reduce exposure to application files); and only versions 0.4.0 and 0.4.1 are confirmed affected. No special privilege level or account on the target system is required to initiate exploitation.

Impact

The CVSS 4.0 score of 5.5 (Medium) reflects network-accessible unauthenticated exploitation with partial impact across confidentiality, integrity, and availability - however, the integrity and availability components of the provided vendor vector (VI:L, VA:L) are not clearly supported by the description, which only references document read and list operations. The primary confirmed impact is unauthorized file read. EPSS at 0.07% (21st percentile) signals very low observed exploitation probability, but this metric commonly lags newly disclosed CVEs and should not be relied upon in isolation here. The SSVC Automatable:yes classification is a higher-priority signal: the attack requires no user interaction and can be scripted for mass scanning of exposed MCP server endpoints. A public POC on GitHub further removes exploitation friction. KEV status is absent - confirmed active exploitation is not established at time of analysis, so the Automatable:yes flag represents elevated potential risk rather than confirmed in-the-wild activity. The absence of a released patch is the most operationally urgent factor. The low EPSS and narrow product prevalence limit real-world exposure, but any internet-facing deployment of this plugin should be treated as at-risk until a patch is available.

Exploit ScenarioDerived

A remote unauthenticated attacker identifies an internet-facing mkdocs-mcp-plugin MCP server endpoint and sends a crafted request to the read_document function with a file_path argument containing traversal sequences (e.g., '../../../etc/passwd' or '../../../app/config.yaml'). Because server.py does not canonicalize the path or enforce confinement to the docs directory, the server resolves and returns the contents of the targeted file. A public POC is available on GitHub issue #6, and the SSVC Automatable:yes designation means this can be scripted for bulk scanning of exposed endpoints.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Path traversal in douinc mkdocs-mcp-plugin 0.4.0 and 0.4.1 exposes arbitrary server filesystem files to remote unauthenticated attackers via unsanitized docs_dir and file_path arguments in the read_document and list_documents functions of server.py. A public proof-of-concept is available on GitHub (issue #6), and SSVC classifies the attack as automatable, lowering the bar for mass exploitation. No patched version has been released at time of analysis; the vendor has acknowledged the issue and committed to publishing a fix within days.

RemediationAI

No vendor-released patched version has been confirmed at time of analysis. The vendor acknowledged the issue via the GitHub repository and stated a fix will be published within a few days - monitor https://github.com/douinc/mkdocs-mcp-plugin/ and the VulDB entry at https://vuldb.com/vuln/359758 for a tagged release. As an immediate compensating control, restrict network access to the MCP server endpoint to trusted hosts only using firewall rules or reverse-proxy allowlisting - this is the most effective interim measure, though it will block legitimate remote MCP clients. A second option is to run the plugin in a sandboxed container with a read-only volume mount scoped strictly to the documentation directory, limiting path traversal reach to only intended content; the trade-off is added operational complexity. Once a patched release is available, upgrade immediately and verify the fix confines file resolution to the docs root before removing compensating controls.

Affected VersionsENISA

mkdocs-mcp-plugin 0.4.0
mkdocs-mcp-plugin 0.4.1

Affected Packages

pypi mkdocs-mcp-plugin no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

mkdocs-mcp-plugin is a Python plugin for MkDocs that exposes a Model Context Protocol (MCP) server interface, enabling AI clients to programmatically read and list documentation files hosted by the server. The vulnerable code in server.py accepts user-supplied docs_dir and file_path parameters in the read_document and list_documents functions without adequate path canonicalization or confinement to the intended documentation root. This is a classic CWE-22 (Path Traversal) defect: an attacker can embed sequences such as '../../' in these arguments to escape the docs directory and resolve arbitrary filesystem paths accessible to the server process. The affected product is identified under CPE cpe:2.3:a:douinc:mkdocs-mcp-plugin:*:*:*:*:*:*:*:*, covering all releases through 0.4.1. Because the plugin operates as a network-facing MCP server, exploitation requires no local access.

Know when Mkdocs Mcp Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.3 MEDIUM

Network-reachable, no auth, no interaction; confidentiality impact only, as description confirms read operations with no evidence of write or denial-of-service primitives.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
CVSS changed
Apr 29, 2026 - 01:12 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Severity Changed
Apr 27, 2026 - 22:22 NVD
HIGH MEDIUM
CVSS changed
Apr 27, 2026 - 22:22 NVD
7.3 (HIGH) 6.9 (MEDIUM)
CVE Published
Apr 27, 2026 - 21:15 nvd
MEDIUM 5.5

DescriptionCVE.org

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."

Threat Intelligence Overview

EPSS Score
0.1%
Top 79% exploitable
Prevalence
Rare
niche MkDocs MCP plugin, minimal known enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy