Home

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.

PUBLISHED Reserved 2026-02-18 | Published 2026-02-20 | Updated 2026-02-20 | Assigner GitHub_M




HIGH: 8.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

Problem types

CWE-15: External Control of System or Configuration Setting

CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Product status

<= 1.7.2
affected

References

github.com/...ay-mcp/security/advisories/GHSA-97rm-xj73-33jh

github.com/...ommit/aab0bda75ea9dd27aa37d0d8524d7cf41b3c4a9a

cve.org (CVE-2026-27203)

nvd.nist.gov (CVE-2026-27203)

Download JSON