Vulnerability  ·  2026-10-13

mcp-remote device-code OAuth sends client secrets and tokens in cleartext over non-loopback http endpoints

VulnerabilityMedium impactGlobalCVE-2026-108716
mcp-remote's device-code OAuth flow sends client secrets and receives tokens without enforcing HTTPS on the discovered endpoint URLs. If a remote MCP server advertises non-loopback http authorization/token endpoints, the credentials and resulting tokens traverse the network in cleartext and can be captured by an on-path attacker.
MCP clients authenticate against remote tool servers with OAuth tokens that grant the agent access to that server's data. Leaking the client secret and refresh token in cleartext gives an attacker durable impersonation of the MCP connection — full read/write access to everything the server exposes to the agent.
authorizeWithDeviceCode does not enforce HTTPS for discovered device authorization and token endpoints. When those non-loopback endpoints are http URLs, an on-path attacker captures the client secret and issued access/refresh tokens sent over the wire.
mcp-remote 0.8.0 through 0.14.3 (authorizeWithDeviceCode)
Upgrade mcp-remote beyond 0.14.3 and/or enforce HTTPS endpoints in OAuth configuration (VulnCheck advisory; punkpeye/mcp-remote).
NVD CVE-2026-108716VulnCheck advisory
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →