mcp-cve-project

CVE-2026-81101 | The configure command accepted any endpoint URL and stored it beside the user’s access token. | Medium / 6.9

CVE Information

Field Value
CVE / NVD CVE-2026-81101
Date (index) 2026-08-27
Affected product (index) The configure command accepted any endpoint URL and stored it beside the user’s access token.
GHSA ID None — no GitHub advisory published (search)
OWASP MCP Top 10 (2025) MCP01 - Token Mismanagement & Secret Exposure
Published / disclosed 2026-08-27
Ecosystem Application / upstream project
Component The configure command accepted any endpoint URL and stored it beside the user’s access token.
EPSS score 0.004460000 (FIRST EPSS, 2026-09-26)
CVSS score Medium / 6.9
CWE CWE-200
Affected versions v0.2.4, v0.2.3, v0.2.1, v0.2.0, v0.1.3, v0.1.2
Fixed versions 0.2.5
Fix status Patched
Exploit status Public advisory / public CVE record
Notes Added during 2026-09-07 gap review against NVD, GitHub Advisory Database, OSV, OpenCVE, and related MCP advisory searches.

CVE Breakdown

What is the vulnerability?

The configure command accepted any endpoint URL and stored it beside the user’s access token. ConfigureCommand.execute in src/cli.ts persisted the value given to its endpoint option into the user profile without passing it through createSafeUrl in src/config.ts, the helper that already restricted the environment-variable form of the same setting to the vendor’s own hosts over HTTPS. Because the connect path in src/mcp.ts attaches the stored token as a bearer credential on every request to the configured endpoint, a user who was persuaded to run configure with an endpoint of the attacker’s choosing sent their personal access token to that destination on each subsequent invocation. Version 0.2.5 applies the same helper to the option.

Attack prerequisites / exposure

Exposure depends on deployment: reachable MCP transports, enabled MCP tools, local listeners without robust Host/Origin/authentication checks, or trusted workspace/project MCP configuration treated as safe input.

CVE is because of what bug?

The issue maps to CWE-200; review the upstream advisory for the exact vulnerable code path and patched implementation.

MCP-specific impact / why it matters

This issue affects an MCP server, SDK, gateway, client, integration, or MCP-enabled workflow where tool execution, transport exposure, secrets, files, or authorization boundaries are part of the risk surface.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory.

Fix / Remediation

Upgrade to the vendor-fixed version where available. Restrict MCP listeners to trusted networks, require authentication for HTTP/SSE/Streamable HTTP transports, validate Host and Origin headers, constrain filesystem and command-execution tools, and treat project/workspace MCP configuration as untrusted input.

Exploit / PoC

Prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification