@backstage/plugin-auth-node: Backstage: Explicit negative email verification can be ignored during shared OAuth profile normalization
What fixes it
- 0.6.15@backstage/plugin-auth-node, npmGitHub
npm install @backstage/plugin-auth-node@0.6.15 - 0.7.5@backstage/plugin-auth-node, npmGitHub
npm install @backstage/plugin-auth-node@0.7.5
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Impact
Several Passport-based authentication providers use shared OAuth profile normalization from @backstage/plugin-auth-node. Affected versions may pass an email to email-based sign-in resolvers even when verification metadata supplied for that same address is explicitly negative. The ID-token-only fallback likewise did not consistently respect email_verified: false.
Exploitation requires a deployment where an admitted identity-provider user can supply or change an email address without verification and Backstage uses that profile email to resolve catalog identities. In that configuration, the user may be able to assume another catalog identity and obtain its associated access and permissions.
An absent email_verified claim is not by itself considered an affected condition. Some providers rely on authoritative organizational provisioning and intentionally omit the optional claim. Operators using email-based sign-in resolution must ensure that the configured provider restricts sign-in to the intended user population and supplies an authoritative email address, either through provider verification or trusted immutable provisioning.
This advisory covers the shared Passport profile normalization path when the selected profile email itself carries verified: false, when a matching raw provider email carries email_verified: false, or when an email obtained only from an ID token carries email_verified: false. It does not apply verification metadata from a different address or from a separate ID token to an independently fetched provider-profile email.
The generic OIDC provider follows a separate profile transform and is covered by GHSA-826h-28h9-65hg. The two advisories are complementary; deployments using both affected paths should apply both package updates. VMware Cloud uses a separate custom token transformation and is not changed by this patch.
Patches
Fixed in @backstage/plugin-auth-node versions 0.6.15 and 0.7.5. Users remaining on the 0.6.x line should upgrade to at least 0.6.15; users on 0.7.x should upgrade to at least 0.7.5.
The patched packages were released with Backstage v1.49.7 and Backstage v1.54.7, respectively. The fix is also present on master in commit 507e65a.
Workarounds
- Require the identity provider to verify user-controlled email addresses before allowing sign-in.
- Ensure profile emails are immutable and provisioned from a trusted organizational source.
- Use a sign-in resolver that does not depend on the profile email.
- Use a custom profile transform that omits an email when matching provider metadata explicitly marks it as unverified.
Text from GitHub Advisory Database
Affected versions 8
- @backstage/plugin-auth-node, npm>= 0.3.0, < 0.6.15GitHub
- @backstage/plugin-auth-node, npm>= 0.7.0, < 0.7.5GitHub
- backstageaffected: >= 1.18.0, < 1.49.7CVE List
- backstageaffected: >= 1.50.0-next.0, < 1.54.7CVE List
- plugin-auth-nodeaffected: >= 0.3.0, < 0.6.15CVE List
- plugin-auth-nodeaffected: >= 0.7.0, < 0.7.5CVE List
- @backstage/plugin-auth-node, npmfrom 0.3.0, fixed in 0.6.15OSV
- @backstage/plugin-auth-node, npmfrom 0.7.0, fixed in 0.7.5OSV
References 8
- github.com/backstage/backstage/commit/507e65ab9160aae6b602513dbfaebdd6be0ca8bbFixvia CVE List
- github.com/backstage/backstage/commit/f0a43dacd1b501064da042b43eab9c1e06371d38Fixvia CVE List
- github.com/backstage/backstage/commit/fc5e30aba8ea7282ed3658c3b985cec71051cf9dFixvia CVE List
- github.com/backstage/backstage/releases/tag/v1.49.7Fixvia CVE List
- github.com/backstage/backstage/releases/tag/v1.54.7Fixvia CVE List
- github.com/backstage/backstage/security/advisories/GHSA-xm5q-p7w3-x6cpAdvisoryvia CVE List
- github.com/advisories/GHSA-xm5q-p7w3-x6cpAdvisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2026-106460Referencevia GitHub