ChatCLI MCP OAuth login flaw leaks bearer token to another resource
A command-line chat tool can leak your logins to a malicious server.
Summary
ChatCLI's MCP OAuth login does not check the resource address that an MCP server supplies. A malicious MCP server can get a user's bearer token issued for, and replayed against, another resource; versions before v1.215.2 are affected.
Affected when
- Logging in to a malicious or compromised MCP server with ChatCLI
- Authorization server supports dynamic client registration and honours the requested resource indicator
- A second resource on the same authorization server accepts the token
- User completes consent
What to do
Update to 1.215.2 or later. Until then, log in only to MCP servers you trust. After upgrading, users who logged in to an untrusted MCP server should run /mcp logout <server> and revoke the ChatCLI client at the authorization server.
Products and platforms
CVE IDs
Sources
Times
First published
First seen