Vulnerabilities in pkg:npm/mcp-remote
PACKAGECVE-2025-6514 is a CRITICAL (CVSS 9.6) mcp-remote exposed to os command vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Mcp remote libraries in the npm ecosystem. The issue involves mcp-remote exposed to os command injection via untrusted mcp server connections. Remediation is available by upgrading affected packages to version 0.1.16.
pkg:npm/mcp-remote
Vulnerability advisories affecting package pkg:npm/mcp-remote. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6xpm-ggf7-wc3p | CVE-2025-6514 | CRITICAL | mcp-remote exposed to OS command injection via untrusted MCP server connections |
CVE-2025-6514 at a Glance
Security Impact
CVSS: 9.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2025-6514
To remediate this vulnerability, upgrade all affected Mcp remote dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install mcp-remote@0.1.16
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls mcp-remote
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-6514, inspect your project dependencies using npm:
npm ls mcp-remote
Analyze the terminal output to locate any version of Mcp remote in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.16), your application is affected.
Note: The npm ls mcp-remote command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Mcp remote, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-6514 Affected Mcp remote Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mcp-remote
|
npm |
≥ 0.0.5
< 0.1.16
|
0.1.16
|
References
Frequently Asked Questions
What is CVE-2025-6514?
Which Mcp remote versions are affected?
What version fixes CVE-2025-6514?
Is mcp-remote affected?
What is the CVSS score of CVE-2025-6514?
What CWE is associated with CVE-2025-6514?
How can I check npm dependencies for CVE-2025-6514?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6xpm-ggf7-wc3p",
"modified" : "2025-07-09T18:08:44Z",
"published" : "2025-07-09T15:30:44Z",
"aliases" : [ "CVE-2025-6514" ],
"summary" : "mcp-remote exposed to OS command injection via untrusted MCP server connections",
"details" : "mcp-remote is exposed to OS command injection when connecting to untrusted MCP servers due to crafted input from the authorization_endpoint response URL",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "mcp-remote"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.0.5"
}, {
"fixed" : "0.1.16"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-6514"
}, {
"type" : "WEB",
"url" : "https://github.com/geelen/mcp-remote/commit/607b226a356cb61a239ffaba2fb3db1c9dea4bac"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/geelen/mcp-remote"
}, {
"type" : "WEB",
"url" : "https://jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability"
}, {
"type" : "WEB",
"url" : "https://research.jfrog.com/vulnerabilities/mcp-remote-command-injection-rce-jfsa-2025-001290844"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-78" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-09T18:08:44Z",
"nvd_published_at" : "2025-07-09T13:15:24Z"
}
}