Vulnerabilities

CVE-2026-27203

High 8.3 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-02-21
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Scored by
security-advisories@github.com
Probability of exploitation
0.4 % higher than 29 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
ebay-mcp (npm) ≤ 1.7.2 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1027: Obfuscated Files or Information stealth
  • T1112: Modify Registry defense-impairment, persistence
  • T1547.001: Registry Run Keys / Startup Folder persistence, privilege-escalation
  • T1547.004: Winlogon Helper DLL persistence, privilege-escalation
  • T1547.014: Active Setup persistence, privilege-escalation
  • T1574.006: Dynamic Linker Hijacking stealth, execution
  • T1574.007: Path Interception by PATH Environment Variable stealth, execution
  • T1647: Plist File Modification defense-impairment

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities