CVE-2026-32235: @backstage/plugin-auth-backend OAuth Redirect URI Allowlist Bypass Vulnerability
MODERATECVE-2026-32235 is a MODERATE (CVSS 5.9) oauth redirect uri allowlist bypass vulnerability (CWE-20: Improper Input Validation) affecting @backstage/plugin-auth-backend libraries in the npm ecosystem. The issue involves oauth redirect uri allowlist bypass. Remediation is available by upgrading affected packages to version 0.27.1.
CVE-2026-32235 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N).
How to Fix CVE-2026-32235
To remediate this vulnerability, upgrade all affected @backstage/plugin-auth-backend dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @backstage/plugin-auth-backend@0.27.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @backstage/plugin-auth-backend
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-32235, inspect your project dependencies using npm:
npm ls @backstage/plugin-auth-backend
Analyze the terminal output to locate any version of @backstage/plugin-auth-backend in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.27.1), your application is affected.
Note: The npm ls @backstage/plugin-auth-backend command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In @backstage/plugin-auth-backend, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-32235 Affected @backstage/plugin-auth-backend Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@backstage/plugin-auth-backend
|
npm |
< 0.27.1
|
0.27.1
|
References
Frequently Asked Questions
What is CVE-2026-32235?
Which @backstage/plugin-auth-backend versions are affected?
What version fixes CVE-2026-32235?
Is @backstage/plugin-auth-backend affected?
What is the CVSS score of CVE-2026-32235?
What CWE is associated with CVE-2026-32235?
How can I check npm dependencies for CVE-2026-32235?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wqvh-63mv-9w92",
"modified" : "2026-03-13T13:35:42Z",
"published" : "2026-03-12T14:50:59Z",
"aliases" : [ "CVE-2026-32235" ],
"summary" : "@backstage/plugin-auth-backend: OAuth redirect URI allowlist bypass",
"details" : "### Impact\n\nThe 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.\n\nA 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.\n\nThis requires victim interaction and that one of the experimental features is explicitly enabled, which is not the default.\n\n### Patches\n\nUpgrade to `@backstage/plugin-auth-backend` version 0.27.1 or later.\n\n### Workarounds\n\nDisable experimental Dynamic Client Registration and Client ID Metadata Documents features if they are not required.\n\n### References\n\n- [RFC 6749 Section 3.1.2 - Redirection Endpoint](https://datatracker.ietf.org/doc/html/rfc6749#section-3.1.2)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@backstage/plugin-auth-backend"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.27.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/backstage/backstage/security/advisories/GHSA-wqvh-63mv-9w92"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-32235"
}, {
"type" : "WEB",
"url" : "https://github.com/backstage/backstage/commit/6042dd0c7f0706e0f473dafa92799ecf19c825ec"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/backstage/backstage"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-12T14:50:59Z",
"nvd_published_at" : "2026-03-12T19:16:17Z"
}
}