Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain MCP server authentication
-
DeliveryCraft tool request with path traversal payload
-
ExploitSubmit docFile parameter with '../' or '..' sequences
-
ExecutionTraversal bypasses intended directory boundary
-
PersistRead or modify arbitrary files in accessible filesystem
-
ImpactExfiltrate sensitive data or corrupt application 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 | The vulnerability requires PR:L (low-privilege authenticated access) to the mcp-rtfm MCP server. An attacker must have valid authentication credentials or be connected as an authenticated user in a shared development environment where the MCP server is running. No special configuration is required beyond the default MCP server deployment; any use of the affected functions (get_doc_content, read_doc, update_doc, refresh_documentation, get_related_docs) with user-supplied docFile parameters is exploitable. The attack is not limited to Windows or Unix platforms - path traversal works on both systems due to the implementation checking for both forward slashes and backslashes. Network access to the MCP server endpoint is required; this could be local (developer machine) or remote depending on the deployment architecture. Authentication to the MCP server is the primary limiting factor - unauthenticated attackers cannot exploit this vulnerability. |
| Impact | CVSS 6.3 (AV:N/AC:L/PR:L/UI:N) indicates a network-accessible vulnerability requiring low privilege authentication with low attack complexity and no user interaction. The CVSS vector E:P and RL:O suggest proof-of-concept availability and official vendor remediation. EPSS data not provided, limiting exploitation probability assessment beyond public POC confirmation. The key limiting factor is PR:L (low privilege required), meaning only authenticated users of the MCP server can exploit this - not unauthenticated network attackers. The confidentiality, integrity, and availability impacts are all Low (C:L/I:L/A:L), indicating an attacker gains partial access and can read, modify, or affect some files but not complete compromise. In context of an MCP server deployment, risk depends critically on who has authentication credentials: if used only internally by trusted developers, risk is moderate; if exposed to untrusted users or used in a shared environment, risk escalates. The public POC and low-complexity attack vector indicate real exploit likelihood once authenticated access is obtained. Data sources: CVSS vector confirmed, POC confirmed from GitHub, patch commit hash confirmed, CWE-22 confirmed. |
| Exploit ScenarioDerived | An authenticated user connected to an mcp-rtfm MCP server submits a read_doc tool call with docFile parameter set to '../../../etc/passwd' or '..\..\..\windows\system32\config\sam'. The unvalidated parameter is concatenated directly into the file path, allowing the attacker to read sensitive system files or configuration files outside the intended .handoff_docs directory. A similar attack with update_doc could modify or delete critical application files. Public exploit code exists at https://github.com/BruceJqs/public_exp/issues/35 demonstrating this technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 04, 2026
Path traversal in ryanjoachim mcp-rtfm 0.1.0 allows authenticated remote attackers to read, write, and delete arbitrary files by manipulating the docFile parameter in the get_doc_content, read_doc, update_doc, and related MCP interface functions. Publicly available exploit code exists, and the vulnerability affects all versions of the product without a patched release identifier provided. An authenticated user can exploit this with no user interaction required via network access to escape the intended .handoff_docs directory and access files outside the designated documentation scope.
RemediationAI
Apply the upstream patch immediately by upgrading to the first mcp-rtfm release that includes commit e6f0686fc36012f78236e7fed172c81444904b0b or later. The patch adds validateDocFile validation that rejects path separators, '..' sequences, and verifies file paths remain within the .handoff_docs directory. Until patching is complete, restrict network access to the mcp-rtfm MCP server to only trusted internal users and disable or restrict the get_doc_content, read_doc, update_doc, refresh_documentation, and get_related_docs functions if they are not in active use. Monitor file access logs for the .handoff_docs directory and parent directories for unexpected read/write patterns. After patching, test that legitimate documentation file operations still function correctly and that traversal attempts (e.g., requests with '../' or '..\' in docFile) are now rejected with an InvalidParams error.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The mcp-rtfm project is a Model Context Protocol (MCP) server that provides tools for reading and updating documentation files. The vulnerability exists in the doc-handlers.ts, refresh-handlers.ts, and search-handlers.ts modules, where user-supplied docFile parameters were concatenated directly into file paths without validation. This is a classic path traversal flaw (CWE-22) where attackers can inject sequences like '../' or '..' to navigate parent directories. The patch introduces a validateDocFile function that enforces strict input validation: rejecting forward and backward slashes, blocking '..' sequences, and using path.resolve() to compute absolute paths and verify they remain within the intended .handoff_docs directory before file operations. The vulnerability affects the entire CPE range cpe:2.3:a:ryanjoachim:mcp-rtfm:*:*:*:*:*:*:*:* indicating all versions are susceptible until patched.
Know when Mcp Rtfm 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A vulnerability was identified in ryanjoachim mcp-rtfm 0.1.0. This vulnerability affects the function get_doc_content/read_doc/update_doc of the component MCP Interface. Such manipulation of the argument docFile leads to path traversal. The attack can be launched remotely. The exploit is publicly available and might be used. The name of the patch is e6f0686fc36012f78236e7fed172c81444904b0b. It is best practice to apply a patch to resolve this issue.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-26882
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB