CVE-2026-7159 douinc mkdocs-mcp-plugin server.py list_documents path traversal
Remote attackers can exploit path traversal in the list_documents function to read arbitrary files from the server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-7159?
CVE-2026-7159 is a medium-severity path traversal vulnerability in douinc mkdocs-mcp-plugin, published on 27 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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."
Weakness: CWE-22
Which versions are affected by CVE-2026-7159?
3 open source packages ship an affected version, including mkdocs-mcp-plugin.
| Package | Affected | Fixed in |
|---|---|---|
mkdocs-mcp-plugin PyPI | All versions to 0.4.1 | None |
mkdocs-mcp-plugin PyPI | All versions to 0.4.1 | None |
mkdocs-mcp-plugin PyPI | All versions to 0.4.1 | None |
How do I fix CVE-2026-7159?
No fix has been published for CVE-2026-7159 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-7159 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7159 exists.
Sources
Also known as GHSA-wfr3-hf93-qgg3, PYSEC-2026-2653.