Skip to main content
Vulnerability Database/CVE-2026-106488

CVE-2026-106488: Backstage OIDC Auth Bypass Vulnerability

CVE-2026-106488 is an authentication bypass flaw in Backstage OIDC provider that allows authenticated users to assume other catalog identities. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-106488 Overview

CVE-2026-106488 is an improper authentication vulnerability [CWE-287] in the Backstage @backstage/plugin-auth-backend-module-oidc-provider package. Backstage is an open framework for building developer portals. Deployments using OpenID Connect (OIDC) email-based identity resolution with a provider that permits unverified email addresses may allow an authenticated user to assume another catalog identity. A successful attacker inherits the access and permissions tied to the impersonated identity. The issue affects all versions prior to 0.4.20 and is fixed in version 0.4.20.

Critical Impact

An authenticated OIDC user can assume another Backstage catalog identity by presenting an unverified email claim matching that identity, gaining its associated permissions.

Affected Products

  • Backstage @backstage/plugin-auth-backend-module-oidc-provider prior to 0.4.20
  • Backstage deployments configured with OIDC email-based identity resolution
  • Backstage releases bundled before v1.54.6

Discovery Timeline

  • 2026-10-06 - CVE-2026-106488 published to NVD
  • 2026-10-07 - Last updated in NVD database

Technical Details for CVE-2026-106488

Vulnerability Analysis

The vulnerability resides in the OIDC authenticator's profile transformation logic. The authenticator copied userinfo.email directly from the identity provider's response into the Backstage user profile without checking the email_verified claim. Backstage then used this email to resolve the authenticating user to a catalog entity. An attacker authenticated to an OIDC provider that permits unverified email addresses can set their email to match a target Backstage user. On sign-in, Backstage resolves the attacker's session to the target identity and grants the associated roles and permissions. This creates a lateral identity takeover path within the developer portal, including access to protected plugins, scaffolder templates, and catalog actions bound to the victim identity.

Root Cause

The root cause is missing validation of the OIDC email_verified claim before trusting the email claim for identity resolution. The authenticator in plugins/auth-backend-module-oidc-provider/src/authenticator.ts treated the email claim as authoritative regardless of verification status.

Attack Vector

Exploitation requires an attacker account on an OIDC provider configured with the vulnerable Backstage instance, where that provider accepts unverified email addresses. The attacker registers or updates their account to claim the target victim's email. After authenticating through the standard OIDC flow, Backstage resolves the session to the victim's catalog identity.

typescript
// Patch: validate OIDC profile email claims
     input: OAuthAuthenticatorResult<OidcAuthResult>,
   ) => ({
     profile: {
-      email: input.fullProfile.userinfo.email,
+      ...(input.fullProfile.userinfo.email_verified === true && {
+        email: input.fullProfile.userinfo.email,
+      }),
       picture: input.fullProfile.userinfo.picture,
       displayName: input.fullProfile.userinfo.name,
     },
// Source: https://github.com/backstage/backstage/commit/1b1f05e82161aaabc226c1d7d498d746956bf942

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-106488

Indicators of Compromise

  • Backstage auth-backend logs showing successful OIDC sign-ins resolving to catalog identities that do not match the OIDC subject (sub) claim.
  • Multiple OIDC accounts authenticating with the same email address over a short window.
  • Audit entries where privileged scaffolder, catalog, or permission actions are performed by identities whose typical access patterns differ.

Detection Strategies

  • Review the OIDC provider configuration to identify tenants that allow users to set an email without verification.
  • Correlate OIDC sub claims against resolved Backstage user entity references in auth logs to detect subject-to-identity drift.
  • Compare the @backstage/plugin-auth-backend-module-oidc-provider version in use against 0.4.20 across all Backstage deployments.

Monitoring Recommendations

  • Forward Backstage auth-backend and permission-backend logs to a centralized logging platform such as Singularity Data Lake for retention and query.
  • Alert on first-seen (oidc_sub, resolved_user_entity_ref) pairings and on repeated resolution of the same catalog identity from distinct subjects.
  • Monitor access to high-value Backstage endpoints such as /api/scaffolder and permission-protected catalog mutations.

How to Mitigate CVE-2026-106488

Immediate Actions Required

  • Upgrade @backstage/plugin-auth-backend-module-oidc-provider to version 0.4.20 or later, or upgrade to Backstage release v1.54.6.
  • Audit the configured OIDC provider for policies that permit unverified email addresses and enforce email verification at the identity provider.
  • Review recent OIDC sign-ins and revoke sessions for any identities exhibiting subject-to-email mismatches.

Patch Information

The fix is implemented in commit 1b1f05e and shipped in Backstage release v1.54.6. Full details are documented in GitHub Security Advisory GHSA-826h-28h9-65hg. The patch gates the email field on userinfo.email_verified === true.

Workarounds

  • Switch the OIDC sign-in resolver away from email-based resolution to a resolver keyed on the OIDC sub claim or another provider-verified identifier.
  • Restrict the OIDC provider to tenants and user directories that mandate verified email ownership.
  • Temporarily disable the OIDC provider in Backstage until the package can be upgraded to 0.4.20.
bash
# Upgrade the affected package to the fixed version
yarn --cwd packages/backend add @backstage/plugin-auth-backend-module-oidc-provider@^0.4.20

# Verify the installed version
yarn --cwd packages/backend why @backstage/plugin-auth-backend-module-oidc-provider

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.