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.
Published: 2026-08-13
Score: 4.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Wed, 19 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1289
References
Metrics threat_severity

None

threat_severity

Important


Thu, 13 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 13 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Backstage
Backstage backstage
Vendors & Products Backstage
Backstage backstage

Thu, 13 Aug 2026 17:45:00 +0000

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'}


Subscriptions

Backstage Backstage
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-13T18:07:45.624Z

Reserved: 2026-08-12T20:53:46.380Z

Link: CVE-2026-73563

cve-icon Vulnrichment

Updated: 2026-08-13T18:07:42.523Z

cve-icon NVD

Status : Received

Published: 2026-08-13T18:18:18.803

Modified: 2026-08-13T19:17:34.570

Link: CVE-2026-73563

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-13T17:32:39Z

Links: CVE-2026-73563 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T10:30:17Z

Weaknesses
  • CWE-1289

    Improper Validation of Unsafe Equivalence in Input

  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')