Skip to content

CVE-2026-27203 eBay API MCP Server Affected by Environment Variable Injection

HighCVSS 8.3 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm ebay-mcp(npm) <= 1.7.2 after 1.7.2 Fixed
YosefHayim ebay-mcp = <= 1.7.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
YosefHayim ebay-mcp = <= 1.7.2 No fix listed
npm ebay-mcp(npm) <= 1.7.2 No fix listed

References