mcp-cve-project

CVE-2026-27203 | eBay API MCP Server environment variable injection | High | 8.3

CVE Information

Field Value
CVE / NVD CVE-2026-27203
EPSS score 0.003610000 (FIRST EPSS, 2026-06-30)
Date (index) 2026-02-21
Affected product (index) eBay API MCP Server environment variable injection
GHSA ID GHSA-97rm-xj73-33jh
OWASP MCP Top 10 (2025) MCP09 — Shadow MCP Servers
Published / disclosed 2026-02-21
Ecosystem npm
Component ebay-mcp
CVSS score High — 8.3
CWE CWE-15
Affected versions ebay-mcp <= 1.7.2
Fixed versions No fixed version listed in NVD/GitHub advisory
Fix status Unfixed
Exploit status Public CVE record; do not mirror weaponized payloads
Notes Added during the 2026-06-24 Tier 1 missing-CVE review from NVD MCP keyword results. Re-check NVD before using this entry for compliance reporting.

CVE Breakdown


What is the vulnerability?

eBay API MCP Server is an open source local MCP server providing AI assistants with comprehensive access to eBay’s Sell APIs. All versions are vulnerable to Environment Variable Injection through the updateEnvFile function. The ebay_set_user_tokens tool allows updating the .env file with new tokens. The updateEnvFile function in src/auth/oauth.ts blindly appends or replaces values without validating them for newlines or quotes. This allows an attacker to inject arbitrary environment variables into the configuration file. An attacker can inject arbitrary environment variables into the .env file. This could lead to configuration overwrites, Denial of Service, and potential RCE. There was no fix for this issue at the time of publication.

Attack prerequisites / exposure

Exposure depends on how the affected MCP server, client, gateway, plugin, or adjacent AI tool is deployed. Prioritize systems reachable by untrusted users or networks, systems that accept attacker-controlled tool arguments, and systems with access to credentials, browsers, cloud APIs, Kubernetes clusters, databases, email, or desktop automation.

CVE is because of what bug?

Primary mapped weakness: MCP09 — Shadow MCP Servers. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.

MCP-specific impact / why it matters

MCP components bridge model output to privileged tools. Vulnerabilities in authentication, scope enforcement, command execution, SSRF validation, secret handling, or tool registration can turn prompt/tool input into host compromise, credential disclosure, unauthorized cloud/database access, or persistent malicious tool execution.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.

Fix / Remediation

Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification

Patch

Track NVD references for CVE-2026-27203 and apply the upstream patched release or commit recommended by the vendor/CNA.