CVE-2026-7728 ryanjoachim mcp-rtfm MCP update_doc path traversal
Attackers can exploit path traversal in the MCP interface to read or modify arbitrary files via the docFile argument.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-7728?
CVE-2026-7728 is a medium-severity path traversal vulnerability in ryanjoachim mcp-rtfm, published on 4 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-22
Which versions are affected by CVE-2026-7728?
How do I fix CVE-2026-7728?
No fix has been published for CVE-2026-7728 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-7728 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7728 exists.
Sources
Also known as GHSA-pv8v-hxqm-72q3.