Case · DiggingBeagle record

Oversized OAuth metadata could crash Agent Router shared reconciliation

A namespaced route caused the shared controller to read unbounded OAuth discovery data.

Public disclosure: Nov 6, 2026

Scope

Affected multi-namespace Agent Router Kubernetes installations using OAuth metadata discovery.

Assessment profile

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

The isolated Kubernetes test records a 40 MiB response, three controller OOM restarts and 43 seconds of unrelated reconciliation delay. No production disruption has been established. An impact band remains unassigned because the available evidence does not establish a comparable severity score or verified numerical loss for this assessment.

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

At a glance

Mechanism and trust boundary

  1. 01

    Create a namespaced MCPRoute selecting an OAuth metadata endpoint.

  2. 02

    Return a large discovery document to the shared controller.

  3. 03

    Exhaust controller memory and interfere with reconciliation outside the initiating namespace.

Claims & evidence

CLM-ENR-AR-OAUTH-RECONIn the isolated Kubernetes reproduction, a 40 MiB metadata response killed a 160 MiB controller three times and delayed a different namespace's route reconciliation by 43 seconds.supported

Basis: reported finding

Link to claim
CLM-AGENTROUTER-OAUTH-CONTROLLER-DOS-01An MCPRoute-controlled OAuth metadata endpoint could return a large JSON response and exhaust the shared Agent Router controller memory because the response used unbounded reading.supported

Basis: reported finding

Link to claim

Implications

The scale of an untrusted metadata response can cross tenant boundaries when all namespaces share one controller process.

Controls and mitigations

  • Apply Agent Router 1.2.1, including its 1 MiB limit for OAuth discovery metadata, and reject oversized responses without killing the shared controller.
  • Test retry and reconciliation in an unrelated namespace when an attacker-controlled MCPRoute points to oversized or stalled metadata.

Unknowns and contradictions

  • This requires permission to create the relevant route and reachable metadata service. The reproduced effect was in a controlled cluster, and no customer-wide outage is documented.

Sources and citation

Material revision history

  1. Nov 8, 2026 · Canonical change recorded · new in release · revision 229