Case · DiggingBeagle record

ChatCLI requested MCP OAuth tokens for an unvalidated resource

ChatCLI 1.159.0 through 1.215.1 trusted resource identity supplied through MCP metadata. Exploitation depended on a compatible authorization server, user authorization and another service accepting the resulting token.

Public disclosure: Oct 11, 2026

Scope

Vulnerability reported in a controlled research or disclosure setting. Exact prerequisites, versions and absence of documented exploitation must be preserved.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

The cited first-party advisory or research establishes the stated mechanism only within its documented conditions. No unrelated production compromise, extended victim scope, financial harm or universal mitigation is inferred.

Assessed Nov 9, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    A ChatCLI user connects to an attacker-selected MCP service through OAuth.

  2. 02

    The service publishes an untrusted resource identity or discovery redirect; the client does not enforce the intended resource and origin binding.

  3. 03

    The OAuth path can obtain or forward credentials for an unintended resource under a successful authorization interaction.

Claims & evidence

CLM-CHATCLI-RESOURCE-METADATAChatCLI 1.159.0 through 1.215.1 was affected by an MCP resource metadata binding issue, with same-origin and size controls added in 1.215.2.supported

Basis: reported finding

Link to claim

Implications

The same identity-confusion pattern was found independently from mcp-go, but the ChatCLI implementation and patch are separate.

Controls and mitigations

  • Upgrade to ChatCLI 1.215.2 and enforce origin, size and OAuth resource binding at each metadata redirect.

Unknowns and contradictions

  • Needs an attacker-controlled discovery endpoint and authorization behavior; no confirmed user token theft in the wild.

Sources and citation

Material revision history

  1. Nov 9, 2026 · Published version · first publication · revision 233