Skip to main content

roo-code-memory-bank-mcp-server EUVDEUVD-2026-54852

| CVE-2026-19325 LOW
Path Traversal (CWE-22)
2026-08-09 VulDB GHSA-46jg-c454-8hm3
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Gain local low-privilege access on host
  2. Delivery
    Invoke read_memory_bank_file or append_memory_bank_entry MCP tool
  3. Exploit
    Supply crafted '../' sequences in file_name argument
  4. Execution
    Server resolves path outside memory bank directory
  5. Impact
    Read 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

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

roo-code-memory-bank-mcp-server 9dcb2fb5e6b65a35ac1983885a6d4e5621a0081e

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

Vendor (VulDB) PRIMARY 1.9 MEDIUM
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
vuln.today AI 4.4 MEDIUM

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
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

2
Severity Changed
Aug 09, 2026 - 03:22 NVD
MEDIUM LOW
CVSS changed
Aug 09, 2026 - 03:22 NVD
4.8 (MEDIUM) 1.9 (LOW)

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

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Rare
niche MCP plugin with negligible enterprise footprint
Data Quality
6 sources
Confidence: High

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 No
EPSS 0.1%
Patch available No
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

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