Description
Mage OSS through 0.9.80 before 76c4f46 can proceed with session creation upon encountering an unknown OAuth provider.
Published: 2026-10-16
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Authentication Bypass
Action: Apply Patch
AI Analysis

Impact

Mage OSS prior to commit 76c4f46 creates a user session when it receives a request from an unknown OAuth provider. The absence of a verification step allows an attacker to supply a fabricated provider and obtain an authenticated session without possessing valid credentials. This flaw enables an unauthenticated attacker to impersonate legitimate users or access resources that require authenticated sessions, potentially leading to unauthorized data disclosure or privilege escalation. The weakness belongs to CWE-390, which describes unchecked or unexpected failures in a program’s logic that can be exploited for unauthorized actions.

Affected Systems

The vulnerability is present in the Mage:mage-ai product for all releases up to and including 0.9.80 that have not incorporated the merged PRs from 2026-10-16. The patches that introduce rejection of unverified OAuth identities and strengthen command execution semantics are available only in the source repository; no released binary or container image currently contains them.

Risk and Exploitability

The CVSS score of 9.8 classifies the flaw as critical. While EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog, the high severity and the ability to trigger an authentication bypass remotely via the OAuth endpoint suggest that a determined attacker could exploit the flaw by registering a malicious OAuth provider or manipulating an existing one. If successful, the attacker would obtain authorized access to the Mage service with the privileges of the user constructed by the application.

Generated by OpenCVE AI on October 17, 2026 at 00:52 UTC.

Remediation

Vendor Solution

On 2026-10-16, Mage merged PR #6204 (4fc5e1860260c4f772d852a28323eb65405178df) to reject unverified OAuth identities and PR #6205 (4a8904fcd2765859bd4e2b87fb284dabddb13c83) to harden version-control command execution and subprocess timeout/cancellation. These address the reported authentication bypass and shell-injection path in source. PR #6207 (9c6331991c5e6e43d755bd59c151864ef28fdc11) also removes the four version-control policy overrides used by the zero-role chain. No fixed released package or container image has been established; PyPI 0.9.80 predates these merges.


OpenCVE Recommended Actions

  • Pull the latest source from the Mage AI repository that includes the merged PRs #6204, #6205, and #6207 and rebuild the application
  • Verify that the OAuth provider verification logic now rejects unknown providers before session creation
  • Ensure that any exposed version-control command execution in the system enforces reasonable timeouts and cancellation limits
  • Disable the four version‑control policy overrides that were previously used by the zero‑role chain until a formal release is available

Generated by OpenCVE AI on October 17, 2026 at 00:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 17 Oct 2026 01:15:00 +0000

Type Values Removed Values Added
Title Authentication Bypass via Unverified OAuth Provider in Mage AI

Fri, 16 Oct 2026 23:30:00 +0000

Type Values Removed Values Added
Description Mage OSS through 0.9.80 before 76c4f46 can proceed with session creation upon encountering an unknown OAuth provider.
First Time appeared Mage
Mage mage-ai
Weaknesses CWE-390
CPEs cpe:2.3:a:mage:mage-ai:*:*:*:*:*:*:*:*
Vendors & Products Mage
Mage mage-ai
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-19T14:37:19.362Z

Reserved: 2026-10-16T23:16:28.857Z

Link: CVE-2026-111823

cve-icon Vulnrichment

Updated: 2026-10-19T14:37:04.248Z

cve-icon NVD

Status : Received

Published: 2026-10-17T02:17:18.470

Modified: 2026-10-19T15:16:55.230

Link: CVE-2026-111823

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T21:00:13Z

Weaknesses
  • CWE-390

    Detection of Error Condition Without Action