Skip to main content

mcp-rtfm CVE-2026-7728

| EUVDEUVD-2026-26882 LOW
Path Traversal (CWE-22)
2026-05-04 VulDB
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain MCP server authentication
  2. Delivery
    Craft tool request with path traversal payload
  3. Exploit
    Submit docFile parameter with '../' or '..' sequences
  4. Execution
    Traversal bypasses intended directory boundary
  5. Persist
    Read or modify arbitrary files in accessible filesystem
  6. Impact
    Exfiltrate 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

mcp-rtfm 0.1.0

Affected Packages

euvd mcp_rtfm no fix

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

Vendor (VulDB) PRIMARY 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
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
PoC Detected
May 04, 2026 - 15:18 vuln.today
Public exploit code
Severity Changed
May 04, 2026 - 05:22 NVD
MEDIUM LOW
CVSS changed
May 04, 2026 - 05:22 NVD
6.3 (MEDIUM) 2.1 (LOW)
Patch released
May 04, 2026 - 04:30 nvd
Patch available
CVE Published
May 04, 2026 - 03:30 nvd
LOW 2.1

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

EPSS Score
0.1%
Top 84% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
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