mcp-remote 0.8.0 through 0.14.3 contains a cleartext transmission vulnerability in authorizeWithDeviceCode that sends client secrets and receives tokens without enforcing HTTPS endpoints. When discovered device authorization and token endpoints are non-loopback http URLs, on-path network attackers can capture the client secret plus issued access and refresh tokens.
https://hackmd.io/@haind03/punkpeye-mcp-remote-device-code-cleartext-oauth-transport
https://github.com/punkpeye/mcp-remote/blob/v0.14.3/src/lib/device-authorization.ts#L64-L170
https://github.com/punkpeye/mcp-remote/blob/v0.14.3/src/lib/client-credentials.ts#L37-L47
Published: 2026-10-11
Updated: 2026-10-11
Base Score: 5.4
Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:N/A:N
Severity: Medium
Base Score: 5.3
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Severity: Medium
Base Score: 6
Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Severity: Medium