Skip to main content

with-context-mcp EUVDEUVD-2026-66835

| CVE-2026-81491 MEDIUM
Path Traversal (CWE-22)
2026-08-27 VulDB GHSA-cfj4-56c7-w9x6
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Locate exposed MCP server endpoint
  2. Delivery
    Send crafted tool-call with traversal sequences
  3. Exploit
    Server resolves path outside base directory
  4. Execution
    Read or overwrite arbitrary host files
  5. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

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

with-context-mcp 3.0.6
with-context-mcp 3.0.4
with-context-mcp 3.0.5
with-context-mcp 3.0.3
with-context-mcp 3.0.2
with-context-mcp 3.0.7
with-context-mcp 3.0.1
with-context-mcp 3.0.0

Affected Packages

euvd with_context_mcp 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

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

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

Network-reachable, no auth required per CVSS 4.0 PR:N; partial file read/write impact; no availability impact directly attributable to traversal alone.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
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
CVSS changed
Aug 27, 2026 - 04:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Aug 27, 2026 - 02:15 cve.org
MEDIUM 6.9

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

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
niche MCP tooling package for AI agent workflows
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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