---
title: "CVE-2025-6514: mcp-remote exposed to OS command injection via untrusted MCP server connections"
url: https://erroneo.us/security/cve/CVE-2025-6514/
description: "CVE-2025-6514 (mcp-remote (npm)): mcp-remote is exposed to OS command injection when connecting to untrusted MCP servers due to crafted input from the…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-07-09
date_modified: 2026-10-21
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-6514"
kev: false
cvss: 9.6
epss: 0.77027
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-6514: mcp-remote exposed to OS command injection via untrusted MCP server connections

**Signal:** High exploit likelihood. EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 77.0% , percentile 99.6: FIRST’s model estimates a 77.0% chance of exploitation activity in the next 30 days, higher than 99.6% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Needs a user to click or open something. Phishing makes that realistic, but it is not wormable.
- Only applies if your dependency tree includes mcp-remote (npm) >= 0.0.5, < 0.1.16, fixed in 0.1.16 . Check your lockfile, including transitive dependencies.
- Editorial verdict: Check exposure. mcp-remote: OS Command Injection via OAuth Endpoint — The fix is more than a year old, but version-pinned MCP client configs and stale npx caches can keep a vulnerable mcp-remote alive, so confirm the version and move on.

## What it is

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

## Affected packages

- npm `mcp-remote` >= 0.0.5, < 0.1.16 → fixed: 0.1.16

## Affected products (CVE record)

-  mcp-remote: 0.0.5 <= 0.1.15

## Severity

- JFROG CVSS 3.1: 9.6 `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.6 `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 77.03% probability of exploitation activity in the next 30 days; percentile 99.6.

## Sources

- [github.com](https://github.com/geelen/mcp-remote/commit/607b226a356cb61a239ffaba2fb3db1c9dea4bac)
- [GitHub Advisory GHSA-6xpm-ggf7-wc3p](https://github.com/advisories/GHSA-6xpm-ggf7-wc3p)
- [CVE.org record CVE-2025-6514](https://www.cve.org/CVERecord?id=CVE-2025-6514)
- [NVD entry CVE-2025-6514](https://nvd.nist.gov/vuln/detail/CVE-2025-6514)
- [research.jfrog.com](https://research.jfrog.com/vulnerabilities/mcp-remote-command-injection-rce-jfsa-2025-001290844/)
- [jfrog.com](https://jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability)

---
Source page: https://erroneo.us/security/cve/CVE-2025-6514/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
