CVE-2026-27203
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-27203 is a high-severity External Control of System or Configuration Setting (CWE-15) vulnerability. Its CVSS base score is 8.3 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Startup Items (T1037.005); ranked at the 42th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
This vulnerability is AI-related — categorised as AI Agent Protocols and Integrations; in the Protocol-Specific Risks risk domain.
The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-27203 is an Environment Variable Injection vulnerability affecting all versions of the eBay API MCP Server, an open-source local MCP server that provides AI assistants with comprehensive access to eBay's Sell APIs. The issue resides in the updateEnvFile function within src/auth/oauth.ts, which is invoked by the ebay_set_user_tokens tool to update the .env file with new tokens. This function blindly appends or replaces values without validating them for newlines or quotes, enabling attackers to inject arbitrary environment variables into the configuration file.
The vulnerability has a CVSS v3.1 base score of 8.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H), indicating network accessibility, low attack complexity, and low privileges required. An attacker with low privileges, such as an authenticated user able to invoke the ebay_set_user_tokens tool, can inject malicious environment variables. This may result in configuration overwrites, denial of service, and potential remote code execution.
Mitigation details are available in the GitHub security advisory at https://github.com/YosefHayim/ebay-mcp/security/advisories/GHSA-97rm-xj73-33jh and a related commit at https://github.com/YosefHayim/ebay-mcp/commit/aab0bda75ea9dd27aa37d0d8524d7cf41b3c4a9a. There was no fix for this issue at the time of publication on 2026-02-21. The vulnerability is associated with CWEs CWE-15 and CWE-74.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-7748
Vulnerability Data
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…
more
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.
- CWE(s)
AI Security AnalysisAI
- AI Category
- AI Agent Protocols and Integrations
- Risk Domain
- Protocol-Specific Risks
- OWASP Top 10 for LLMs 2025
- None mapped
- Classification Reason
- Matched keywords: ai, mcp
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 4 hardening rules · 2 OS baselines
—
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Enforces approved authorizations for logical access to configuration resources so external parties cannot alter them.
Enforces documented access restrictions on all changes to system configuration, directly blocking unauthorized external control of settings.
Limits privileges to the minimum needed, reducing the set of users who can externally modify configuration.
SI-10 directly requires validation of information inputs to reject malformed or special-element content before it reaches downstream parsers.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Hardened configuration baselines and change controls directly limit external manipulation of settings.
Formal change and exception management catches externally driven configuration alterations.
Least-privilege access policies reduce unauthorized external modification of configuration values.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Privileged access rights reduce the number of users who can alter configuration.
A.8.29's combined programme of code review, vulnerability scanning, and penetration testing discovers externally-controlled configuration settings in both first-party code and acquired products, but a nameable remainder exists in settings that are only exploitable through complex, multi-step attack chains that standard penetration testing may not uncover.
Configuration management directly prevents external tampering with system settings.
Training developers about secure coding practices can reduce instances where they pass untrusted input directly to system configuration functions (sethostid, setCatalog, etc.), but this is an implementation-level defect that depends on developer skill and attention; the practice is fallible and a different clause (e.g., A.8.28 secure coding, A.8.29 security testing) carries the stronger effect, matching the A.6.3 -> CWE-598 anchor.
Monitoring activities can identify active injection attacks after they occur.
Use of privileged utility programs is controlled to prevent misuse of configuration tools.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.
- No fine-grained STIG row for CWE-74, a class-level weakness, and none of its children carries one either.