Patchfirst
CVE-2025-6514 Public exploit Critical · 9.6 EPSS 77.0%

OS command injection in mcp-remote when connecting to untrusted MCP servers

Fix:upgrade mcp-remote to 0.1.16 or later Details ↓

Summary

The mcp-remote component is vulnerable to OS command injection when it connects to untrusted MCP servers, because it fails to neutralise crafted input taken from the authorization_endpoint response URL. An attacker who controls or can impersonate an MCP server can exploit this through a user interaction, with no prior authentication and no special network position required.

Official description · CVE.org

mcp-remote is exposed to OS command injection when connecting to untrusted MCP servers due to crafted input from the authorization_endpoint response URL

Breakdown
31.6 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) appeared 4 months after disclosure. No confirmed exploitation is recorded.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+4 mo

Affected versions and fixes

as published in the CVE record

Affected product

Affected: >= 0.0.5, <= 0.1.15

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: mcp-remote.

npmmcp-remoteGHSA-6xpm-ggf7-wc3p

Upgrade to 0.1.16 or later

npmnpm install mcp-remote@0.1.16

The first fix for CVE-2025-6514. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
0.0.5 up to 0.1.160.1.16

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close