CVE-2025-6514: mcp-remote exposed to OS command injection via untrusted MCP server connections
mcp-remote is exposed to OS command injection when connecting to untrusted MCP servers due to crafted input from the authorization_endpoint response URL
References
- github.com/advisories/GHSA-6xpm-ggf7-wc3p
- github.com/geelen/mcp-remote
- github.com/geelen/mcp-remote/commit/607b226a356cb61a239ffaba2fb3db1c9dea4bac
- jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability
- nvd.nist.gov/vuln/detail/CVE-2025-6514
- research.jfrog.com/vulnerabilities/mcp-remote-command-injection-rce-jfsa-2025-001290844
Code Behaviors & Features
Detect and mitigate CVE-2025-6514 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →