GHSA-wqvh-63mv-9w92

Suggest an improvement
Source
https://github.com/advisories/GHSA-wqvh-63mv-9w92
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-wqvh-63mv-9w92/GHSA-wqvh-63mv-9w92.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wqvh-63mv-9w92
Aliases
Published
2026-03-12T14:50:59Z
Modified
2026-03-14T01:46:41.642750Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N CVSS Calculator
Summary
@backstage/plugin-auth-backend: OAuth redirect URI allowlist bypass
Details

Impact

The experimental OIDC provider in @backstage/plugin-auth-backend is vulnerable to a redirect URI allowlist bypass. Instances that have enabled experimental Dynamic Client Registration or Client ID Metadata Documents and configured allowedRedirectUriPatterns are affected.

A specially crafted redirect URI can pass the allowlist validation while resolving to an attacker-controlled host. If a victim approves the resulting OAuth consent request, their authorization code is sent to the attacker, who can exchange it for a valid access token.

This requires victim interaction and that one of the experimental features is explicitly enabled, which is not the default.

Patches

Upgrade to @backstage/plugin-auth-backend version 0.27.1 or later.

Workarounds

Disable experimental Dynamic Client Registration and Client ID Metadata Documents features if they are not required.

References

Database specific
{
    "github_reviewed_at": "2026-03-12T14:50:59Z",
    "nvd_published_at": "2026-03-12T19:16:17Z",
    "cwe_ids": [
        "CWE-20",
        "CWE-601"
    ],
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / @backstage/plugin-auth-backend

Package

Name
@backstage/plugin-auth-backend
View open source insights on deps.dev
Purl
pkg:npm/%40backstage/plugin-auth-backend

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.27.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-wqvh-63mv-9w92/GHSA-wqvh-63mv-9w92.json"