PoC Monitor
← All CVEs
CVE-2025-6514published 9 Jul 2025 12:41 UTCData: JSON · API

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

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

First public PoC 47 daysafter publication · 25 Aug 2025
Public PoCs22 on GitHub
CVSS9.6critical · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

  • >= 0.0.5, <= 0.1.15
mcp-remote (npm)
  • >= 0.0.5, < 0.1.16

Fixed in 0.1.16

from GitHub Security Advisory GHSA-6xpm-ggf7-wc3p

Mitigation

Upgrade mcp-remote to 0.1.16 or later.

References

Timeline

Days relative to CVE publication
t=0+7+14+21+28+35+42CVE published9 Jul 2025 · t = 0First public PoC25 Aug 2025 · t+47d

First public PoC 47 days after publication; not in CISA KEV. First PoC: galgantar/mcp-remote-cve (created 25 Aug 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs · 1 pending

PoCs 2
RepositoryCreatedStarsAssessment
galgantar/mcp-remote-cve 25 Aug 2025 +47 d 0 PoC
Cyberency/CVE-2025-6514 26 Oct 2025 +109 d 7 PoC
Pending 1
RepositoryCreatedStarsAssessment
ChaseHCS/CVE-2025-6514 unknown 0 Pending · repository unavailable (HTTP 404)

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /wait-for-auth
(?i)^/wait-for-auth\?(?:.*&)?poll=false

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /wait-for-auth
alert http any any -> $HOME_NET [3000,3128,8080,38062] (msg:"GG PoC-Monitor CVE-2025-6514 CVE-2025-6514 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wait-for-auth"; http.uri; content:"poll=false"; reference:url,poc.griffinguard.io/cve/CVE-2025-6514; classtype:web-application-attack; sid:9892079; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /wait-for-auth
title: CVE-2025-6514 exploit attempt (CVE-2025-6514)
id: gg-pocmon-cve-2025-6514-9892079
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-6514. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-6514
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/wait-for-auth'
    cs-uri-query|contains|all:
      - 'poll=false'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.6514