CVE-2026-73563

Backstage: Unauthenticated OAuth account takeover via `redirect_uri` allowlist bypass in `@backstage/plugin-auth-backend`

Published Aug 13, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
Backstage is an open framework for building developer portals. Prior to 0.29.2, the experimental dynamic client registration and client ID metadata document features in the @backstage/plugin-auth-backend use full-string matcher.isMatch glob matching for auth.experimentalDynamicClientRegistration.allowedRedirectUriPatterns and the auth.experimentalClientIdMetadataDocuments allowedClientIdPatterns and allowedRedirectUriPatterns options. A hostname wildcard can match across URL component boundaries, allowing an attacker-controlled redirect URI with a trusted hostname suffix in its path to pass the allowlist and receive an OAuth authorization code after a victim completes the flow. Patterns without an explicit protocol can match unintended protocols, and redirect URIs containing embedded credentials are accepted after user information is stripped for matching. The features are experimental and disabled by default; only deployments that enable them and configure custom wildcard-hostname or protocol-less patterns are affected. This issue is first fixed in prerelease version 0.29.2.

Analysis

AI-generated

Technical impact

Backstage suffers a flaw in its experimental OAuth infrastructure which allows an attacker to bypass redirect‑URI allowlist checks. By setting wildcard hostnames or omitting protocols in the allowlist, an attacker can supply a redirect URI that contains a trusted hostname suffix or an unintended protocol. The system then strips user information and accepts the URI, handing the OAuth authorization code to the attacker after the victim completes the flow. The weakness maps to CWE-601 and CWE-1289.

Affected Systems

Any installation of Backstage that has enabled experimental dynamic client registration or client‑ID metadata documents and uses custom wildcard-hostname or protocol‑less redirect URI patterns is vulnerable. Versions before 0.29.2 are affected when these features are active. The functionality remains disabled by default, so only deployments that purposely enabled it are at risk.

Risk and Exploitability

The CVSS score is 4.7, indicating a moderate severity. The EPSS score is <1%, indicating a very low probability of exploitation, and the issue is not listed in the KEV catalog. Based on the description, it is inferred that the flaw could be triggered by unauthenticated requests to the OAuth service and depends on configuration choices. The likely attack vector involves an attacker crafting a malicious redirect URI during the OAuth flow to obtain an authorization code, potentially creating or hijacking accounts. The exploitation is realistically remote and does not require privileged access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Backstage to version 0.29.2 or later, where the bug is fixed.
  • If staying on a prior version, disable the experimental dynamic client registration and client‑ID metadata document features or remove custom wildcard and protocol‑less redirect URI patterns.
  • For systems that must keep the experimental features, enforce strict redirect‑URI validation: require explicit protocol prefixes, avoid hostname wildcards that cross URL components, and validate that the path component does not contain a trusted hostname suffix.

Generated by OpenCVE AI on August 22, 2026 at 10:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-38hq-7x33-php4 @backstage/plugin-auth-backend: Unauthenticated OAuth account takeover via `redirect_uri` allowlist bypass
History
Type Values Removed Values Added
First Time appeared Linuxfoundation
Linuxfoundation backstage\/plugin-auth-backend
CPEs cpe:2.3:a:linuxfoundation:backstage\/plugin-auth-backend:*:*:*:*:*:node.js:*:*
Vendors & Products Linuxfoundation
Linuxfoundation backstage\/plugin-auth-backend
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Backstage
Backstage backstage
Vendors & Products Backstage
Backstage backstage
Type Values Removed Values Added
Description Backstage is an open framework for building developer portals. Prior to 0.29.2, the experimental dynamic client registration and client ID metadata document features in the @backstage/plugin-auth-backend use full-string matcher.isMatch glob matching for auth.experimentalDynamicClientRegistration.allowedRedirectUriPatterns and the auth.experimentalClientIdMetadataDocuments allowedClientIdPatterns and allowedRedirectUriPatterns options. A hostname wildcard can match across URL component boundaries, allowing an attacker-controlled redirect URI with a trusted hostname suffix in its path to pass the allowlist and receive an OAuth authorization code after a victim completes the flow. Patterns without an explicit protocol can match unintended protocols, and redirect URIs containing embedded credentials are accepted after user information is stripped for matching. The features are experimental and disabled by default; only deployments that enable them and configure custom wildcard-hostname or protocol-less patterns are affected. This issue is first fixed in prerelease version 0.29.2.
Title Backstage: Unauthenticated OAuth account takeover via `redirect_uri` allowlist bypass in `@backstage/plugin-auth-backend`
Weaknesses CWE-601
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-1289

    Improper Validation of Unsafe Equivalence in Input

  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2026, 6:07 PM
Reserved
Aug 12, 2026, 8:53 PM
Status
Analyzed
Published
Aug 13, 2026, 6:18 PM
Modified
Oct 15, 2026, 8:37 PM
Severity
Important
Public date
Aug 13, 2026, 5:32 PM