Skip to content
Heist/ feed
Back to feed
High

eBay API MCP Server Affected by Environment Variable Injection

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-27203
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 04:47 UTC · Revision 1

Source evidence

eBay API MCP Server Affected by Environment Variable Injection

core-osv · Original source

Published 20 Feb 2026, 23:30 UTC

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.

osv:CVE-2026-27203
Complete source record
{
  "id": "ed7fa1a50543e3027ea32bf8063d5d1af0dd3000e16b11520caf0b9f53a82d82",
  "url": "https://osv.dev/vulnerability/CVE-2026-27203",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "eBay API MCP Server Affected by Environment Variable Injection",
    "summary": "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.",
    "evidence": "osv:CVE-2026-27203",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-27203",
      "aliases": [
        "CVE-2026-27203",
        "GHSA-97rm-xj73-33jh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/yosefhayim/ebay-mcp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "aab0bda75ea9dd27aa37d0d8524d7cf41b3c4a9a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.7.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "aab0bda75ea9dd27aa37d0d8524d7cf41b3c4a9a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.7.2",
            "1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.4",
            "v1.6.3",
            "v1.6.0",
            "v1.5.1",
            "v1.5.0",
            "v1.4.6",
            "v1.4.1",
            "v1.4.0",
            "v1.3.0",
            "v1.2.0",
            "v1.1.8",
            "v1.1.4",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27203.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.782029563Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27203.json",
        "https://github.com/YosefHayim/ebay-mcp/security/advisories/GHSA-97rm-xj73-33jh",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-27203",
        "https://github.com/YosefHayim/ebay-mcp/commit/aab0bda75ea9dd27aa37d0d8524d7cf41b3c4a9a"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-15",
          "CWE-74"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27203.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-27203",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514638,
  "published_at": "2026-02-20T23:30:46.134+00:00"
}