Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local low-privilege access on host
-
DeliveryInvoke read_memory_bank_file or append_memory_bank_entry MCP tool
-
ExploitSupply crafted '../' sequences in file_name argument
-
ExecutionServer resolves path outside memory bank directory
-
ImpactRead or write sensitive local files within process permissions
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 local access to the host running the MCP server and the ability to invoke the read_memory_bank_file or append_memory_bank_entry tool endpoints with attacker-controlled file_name arguments - confirmed by AV:L and PR:L in the CVSS 4.0 vector. Remote exploitation is not possible. No special non-default server configuration is required; the vulnerability is present in the default code path. The blast radius is bounded by the filesystem permissions of the process owner: if the server runs as a dedicated low-privilege user confined to the memory bank directory, traversal impact is limited to files accessible by that account. Environments where the server process runs as a high-privilege or shared user, or where sensitive files reside in sibling directories, face materially higher impact. |
| Impact | The CVSS 4.0 base score of 4.8 (Medium) accurately reflects the constrained threat model: the local attack vector (AV:L) rules out remote exploitation, and low-privilege access (PR:L) is required, meaning an attacker must already have a foothold on the host. All three impact dimensions are rated Low (VC:L/VI:L/VA:L) with no subsequent-system impact, indicating bounded blast radius tied to the process owner's filesystem permissions. The E:P supplemental metric elevates practical concern by confirming documented proof-of-concept techniques exist. No CISA KEV listing is present, and no EPSS data was provided in the source intelligence, so exploitation probability cannot be quantified. The realistic risk is low-to-moderate: significant for environments where the MCP server operates alongside sensitive data or with an over-privileged process account, but not a high-priority internet-facing threat. No conflicting signals are present; CVSS vector and description are consistent. |
| Exploit ScenarioDerived | A local user with low-privilege shell access on the host running roo-code-memory-bank-mcp-server invokes the read_memory_bank_file MCP tool with a file_name value such as '../../etc/passwd' or a relative path targeting sensitive application files, causing the server to serve content from outside the intended directory. Proof-of-concept techniques are documented (E:P), making reproduction straightforward. If the server process runs with elevated permissions or is co-located with credential stores or configuration files, the attacker could additionally use append_memory_bank_entry to inject malicious content into reachable files. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 09, 2026
Path traversal in IncomeStreamSurfer roo-code-memory-bank-mcp-server allows local low-privilege users to read or write files outside the intended memory bank directory by supplying crafted file_name arguments to the read_memory_bank_file or append_memory_bank_entry MCP tool endpoints. All code through commit 9dcb2fb5e6b65a35ac1983885a6d4e5621a0081e in src/index.ts is affected; the project's rolling release model means no discrete patched version exists and the maintainer had not responded to disclosure at time of analysis. Proof-of-concept code exists per the CVSS 4.0 E:P supplemental metric, though no confirmed active exploitation or CISA KEV listing has been identified.
RemediationAI
No vendor-released patch has been identified at time of analysis; the maintainer had not responded to the responsible disclosure issue filed at https://github.com/IncomeStreamSurfer/roo-code-memory-bank-mcp-server/issues/7. Users should monitor the repository for commits to src/index.ts that introduce path canonicalization (e.g., path.resolve with boundary checks) or allowlist validation of the file_name parameter. As an immediate compensating control, restrict the OS user account running the MCP server to the narrowest possible filesystem permissions - specifically, read/write only within the memory bank directory - so that traversal attempts cannot reach files beyond that scope; the trade-off is a minor operational setup cost. Running the server inside a container or chroot jail with a restricted filesystem view provides defense-in-depth, at the cost of deployment complexity. If the memory bank directory or sibling paths contain sensitive data, relocating those files to paths inaccessible to the server's process user is an effective interim measure with no functional side effects.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The roo-code-memory-bank-mcp-server is a Model Context Protocol (MCP) server implementation that exposes memory bank file operations as tool endpoints for AI coding assistants such as Roo Code. The vulnerability is rooted in CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): the functions readMemoryBankFile and appendMemoryBankEntry in src/index.ts accept a caller-supplied file_name parameter and construct filesystem paths without canonicalization, sanitization, or boundary enforcement. An attacker can inject traversal sequences such as '../../' to escape the designated memory bank directory. The CPE cpe:2.3:a:incomestreamsurfer:roo-code-memory-bank-mcp-server:*:*:*:*:*:*:*:* covers all releases, consistent with the rolling release model where no versioned artifacts are published.
Know when Roo Code Memory Bank Mcp Server 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:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Local vector and low privileges required per description and CVSS 4.0 source; no availability impact as traversal enables read/write but not service disruption.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security vulnerability has been detected in IncomeStreamSurfer roo-code-memory-bank-mcp-server up to 9dcb2fb5e6b65a35ac1983885a6d4e5621a0081e. This affects the function readMemoryBankFile/appendMemoryBankEntry of the file src/index.ts of the component read_memory_bank_file/append_memory_bank_entry. Such manipulation of the argument file_name leads to path traversal. The attack must be carried out locally. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed. The project was informed of the problem early through an issue report but has not responded yet.
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-54852
GHSA-46jg-c454-8hm3
NVD
CVE.org
EPSS
VulDB
Exploit-DB