Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate exposed MCP server endpoint
-
DeliverySend crafted tool-call with traversal sequences
-
ExploitServer resolves path outside base directory
-
ExecutionRead or overwrite arbitrary host files
-
ImpactExfiltrate sensitive data or plant malicious payload
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 MCP server process must be reachable over the network (AV:N per CVSS 4.0 vector); no authentication is required (PR:N) and no user interaction is needed (UI:N), meaning any client that can reach the MCP endpoint can trigger the traversal. The specific limiting factor is network exposure: MCP servers are typically bound to localhost for single-user AI tooling workflows, so exploitation in default configurations would require local access or a deliberate decision to expose the server on a LAN or public interface. There is no special configuration flag or non-default feature required - the path traversal exists in core note-management functions that are part of the package's primary purpose. Exploitation is further constrained by OS-level permissions of the server process; files readable or writable only by privileged users remain protected if the server runs as a low-privilege account. |
| Impact | The CVSS 4.0 base score of 6.9 (vector AV:N/AC:L/AT:N/PR:N/UI:N with VC:L/VI:L/VA:L and E:P) reflects a moderately severe, unauthenticated network-accessible path traversal with a publicly available proof-of-concept. All three impact axes - confidentiality, integrity, availability - register as Low on the vulnerable system, meaning the flaw enables partial file read/write rather than full compromise; scope change (SC/SI/SA) is absent, confirming no lateral movement beyond the host. The E:P exploitability metric confirms POC exists. The vulnerability is NOT listed in the CISA KEV catalog, indicating no confirmed in-the-wild exploitation at time of analysis; however, the absence of a vendor response to coordinated disclosure means no patch is available, raising urgency for operators who have exposed their MCP endpoint. In practice, the real-world risk is bounded by deployment footprint: with-context-mcp is a niche AI-tooling package, and MCP servers are typically deployed locally or in controlled AI development environments rather than public internet-facing production services. For teams running this server with broader network exposure or sensitive files on the host, risk is meaningfully elevated despite the moderate CVSS score. |
| Exploit ScenarioDerived | An attacker with access to the MCP server's network endpoint sends a crafted tool-call request to one of the vulnerable functions - for example, invoking ingest_notes with a filename parameter containing path traversal sequences such as '../../../../etc/passwd' - causing the server to read and return the content of an arbitrary host file. Because a proof-of-concept has been published via the GitHub issue, the technique is publicly documented and requires no specialized knowledge. If the function also supports write operations (sync_notes/teleport_notes), an attacker could overwrite configuration or code files on the host to achieve persistent access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 27, 2026
Path traversal in boxpositron/with-context-mcp up to version 3.0.7 exposes the host filesystem through four note-management functions - ingest_notes, teleport_notes, sync_notes, and project_folder - in src/index.ts, allowing unauthenticated remote attackers to read or write files outside the intended working directory. The affected package is a Model Context Protocol (MCP) server, meaning exploitation is triggered via tool-call requests sent to the MCP endpoint, a vector inherently accessible to any AI agent or client connected to the server. A publicly available proof-of-concept has been disclosed via a GitHub issue; the vendor had not responded to the coordinated disclosure at time of reporting, leaving affected versions unpatched.
RemediationAI
No vendor-released patch has been identified at time of analysis; the project maintainer had not responded to the GitHub issue disclosure as of the report date. The primary recommended action is to remove or disable the with-context-mcp package until a patched version is released. If operational continuity requires the server to remain running, restrict the MCP server's network binding strictly to localhost (127.0.0.1) so that only local processes can invoke its tools, eliminating the remote attack surface; note this does not protect against local or agent-level abuse. Additionally, deploy OS-level filesystem restrictions (e.g., chroot jail, Docker volume mounts scoped to a specific directory, or systemd sandboxing with ReadOnlyPaths and ProtectSystem) to constrain the server process to only the directories it legitimately needs, limiting traversal blast radius. Monitor the upstream GitHub repository at https://github.com/boxpositron/with-context-mcp/issues/2 and the VulDB entry at https://vuldb.com/vuln/395981 for patch availability.
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
with-context-mcp (CPE: cpe:2.3:a:boxpositron:with-context-mcp:*:*:*:*:*:*:*:*) is a Node.js/TypeScript package that implements a Model Context Protocol server, enabling AI assistants and agent frameworks to interact with local notes and project files. MCP servers expose callable tools over an HTTP/SSE or stdio transport; in this case the tools ingest_notes, teleport_notes, sync_notes, and project_folder in src/index.ts accept file-path parameters that are not sufficiently sanitized. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) describes the root cause: user-controlled path segments containing sequences such as '../' are resolved relative to the host filesystem rather than being constrained to an intended base directory, enabling traversal to arbitrary locations. Because MCP tools are invoked programmatically by LLM agents, there is no human approval gate between the attacker-controlled prompt and the vulnerable file-system operations.
Know when With Context Mcp 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:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable, no auth required per CVSS 4.0 PR:N; partial file read/write impact; no availability impact directly attributable to traversal alone.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A flaw has been found in boxpositron with-context-mcp up to 3.0.7. This affects the function ingest_notes/teleport_notes/sync_notes/project_folder of the file src/index.ts. Executing a manipulation can lead to path traversal. It is possible to launch the attack remotely. The exploit has been published and may be used. 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-66835
GHSA-cfj4-56c7-w9x6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB