Case · DiggingBeagle record

Gemini CLI MCP OAuth metadata requests may bypass safe network dispatch

An issue reports that OAuth metadata and registration fetches use a network path outside Gemini CLI MCP safe dispatch, leaving a DNS rebinding concern.

Scope

The public issue describes a potential SSRF condition without verified victim access or a merged correction.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
not established
Evidence
Grade D
AI role
AGAINST AI
Basis and provenance

The pinned Claim and its primary disclosure support the described controlled result, but do not establish a population-wide rate or calibrated impact. The only available supporting evidence is the reporter's or advisory author's own account; independent reproduction has not been shown. Impact remains unbanded because no calibrated impact rubric for this particular evidence is established.

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

At a glance

Mechanism and trust boundary

  1. 01

    MCP OAuth discovery begins

    The client accepts a remote server address and examines its metadata URL.

    Boundary: User-selected MCP server into OAuth bootstrap

  2. 02

    Validation and connection differ

    The metadata or registration request bypasses the validated safe dispatcher.

    Boundary: URL policy decision into separate network connection

  3. 03

    Network destination can change

    DNS rebinding may redirect a later request to a private address if not rechecked.

    Boundary: Hostname intent into connected IP authority

Claims & evidence

CLM-2026-NOV02-GEMINI-CLI-MCP-OAUTH-SSRF-AThe Gemini CLI issue identifies OAuth discovery and dynamic registration HTTP requests that do not use the same safe dispatcher as other MCP traffic, so a previously checked host may resolve differently at connection time.supported

Basis: reported finding

Link to claim

Implications

Network boundaries must be enforced on the actual connected destination for every pre-tool bootstrap request.

Controls and mitigations

  • Unify OAuth metadata and registration requests with the safe dispatcher; validate redirects, resolved IPs and connect-time destination.
  • Bind DNS and connected-address validation to the actual OAuth metadata and registration sockets; reject a later private or loopback destination unless explicitly authorized.

Unknowns and contradictions

  • The public issue describes a potential SSRF condition without verified victim access or a merged correction.
  • No completed private-network request, leaked token or released remediation is established in the issue thread.

Sources and citation

Material revision history

  1. Nov 2, 2026 · Canonical change recorded · new in release · revision 214