CVE-2026-123271
ChatCLI before v1.215.2 contains an improper validation vulnerability in the MCP OAuth login flow that uses server-supplied Protected Resource Metadata as the …
Impact
ChatCLI before v1.215.2 contains an improper validation vulnerability in the MCP OAuth login flow that uses server-supplied Protected Resource Metadata as the resource indicator without checking it matches the configured server URL. A malicious MCP server can declare another resource on the same authorization server, obtain the user's bearer token for it, and replay that token against the other resource.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected products · Diillson
| Product | Affected versions |
|---|---|
| ChatCLI | from v1.159.0 before v1.215.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/diillson/chatcli/blob/359eb27debc4de78289a9662551a51ab4528e16c/cli/mcp/oauth.go#L477-L493
- https://github.com/diillson/chatcli/commit/951fe24b8e090eae86bf8edb13a788916b1e6c91
- https://github.com/diillson/chatcli/releases/tag/v1.215.2
- https://github.com/diillson/chatcli/security/advisories/GHSA-95vg-3r9c-2v5q
- https://www.vulncheck.com/advisories/chatcli-before-1.215.2-origin-validation-error-via-unvalidated-mcp-oauth-resource-indicator