Case · DiggingBeagle record

Mage AI OAuth session issuing fell back to user-supplied identity

Unsupported or failed OAuth provider resolution could fall through to an email supplied by the requester, creating a session without verified identity.

Scope

CVE-2026-111823; Mage OSS through reported 0.9.80, /api/sessions OAuth authentication branch; patch PR #6204.

Assessment profile

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

The inspected, merged Mage PR #6204 includes reproduction tests for existing-account impersonation and self-asserted account creation. The fix is present in source as of October 16, but a shipped fixed release and real victim deployment are not verified in the current evidence. Null impact avoids extrapolating to all installations.

Assessed Oct 18, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Step

  2. 02

    Step

  3. 03

    Step

  4. 04

    Step

Claims & evidence

CLM-CP13-MAGE-OAUTHThe insecure branch performed session issuance using a request-supplied email after unsupported OAuth provider resolution failed, enabling impersonation in the reproduced setup.supported

Basis: reported finding

Link to claim
CLM-CP13-MAGE-OAUTH-REPAIRThe source patch requires recognized OAuth provider and verified identity before user lookup/session issuance, and includes passing regression tests.supported

Basis: reported finding

Link to claim
CLM-ENRICH-MAGE-OAUTH-MERGEDMage maintainers merged the OAuth identity validation fix as PR #6204 on October 16, 2026; source merge is not proof that every released Mage container image was updated.supported

Basis: reported finding

Link to claim

Implications

There are two distinct security questions: whether an OAuth identity actually came from a trusted provider and whether the resulting account may invoke powerful actions. Fixing the first does not automatically make existing terminal and Git endpoints least-privileged. The record does not establish a particular victim account or production compromise.

Controls and mitigations

  • Deploy the Mage source fix merged in PR #6204 and reject all unknown providers, missing verified subject identifiers and failed provider verifications before any local session issuance.
  • Retest existing-user impersonation and unwanted new-account creation, then separately audit terminal and Git permissions for valid sessions.

Unknowns and contradictions

  • A final tagged distributable release and container image containing the patch were not independently verified.
  • No confirmed exploited user account or operational dataset compromise.

Sources and citation

Material revision history

  1. Oct 18, 2026 · Canonical change recorded · new in release · revision 171