CVE-2026-29792: @feathersjs/authentication oauth Feathers Has An OAuth Callback Vulnerability

CRITICAL
Advisory Identifier: GHSA-wg9x-qfgw-pxhj
CWE-287
Published
Advisory Summary

CVE-2026-29792 is a CRITICAL feathers has an oauth callback vulnerability (CWE-287: Improper Authentication) affecting @feathersjs/authentication oauth libraries in the npm ecosystem. The issue involves feathers has an oauth callback account takeover issue. Remediation is available by upgrading affected packages to version 5.0.42.

CVE-2026-29792 at a Glance

CVE Identifier CVE-2026-29792
GHSA Identifier GHSA-wg9x-qfgw-pxhj
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-287: Improper Authentication
Affected Product @feathersjs/authentication oauth
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-29792

To remediate this vulnerability, upgrade all affected @feathersjs/authentication oauth dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@feathersjs/authentication-oauth fixed: 5.0.42
npm install @feathersjs/authentication-oauth@5.0.42
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @feathersjs/authentication-oauth

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-29792, inspect your project dependencies using npm:

npm ls @feathersjs/authentication-oauth

Analyze the terminal output to locate any version of @feathersjs/authentication oauth in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.42), your application is affected.

Note: The npm ls @feathersjs/authentication-oauth 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In @feathersjs/authentication oauth, 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

An unauthenticated attacker can send a crafted GET request directly to `/oauth/:provider/callback` with a forged profile in the query string. The OAuth service's authentication payload has a fallback chain that reaches params.query (the raw request query) when Grant's session/state responses are empty. Since the attacker never initiated an OAuth authorize flow, Grant has no session to work with and produces no response, so the fallback fires. The forged profile then drives entity lookup and JWT minting. The attacker gets a valid access token for an existing user without ever contacting the OAuth provider. Critical (CVSS 9.8)

CVE-2026-29792 Affected @feathersjs/authentication oauth Versions

1 component(s)
Fixed Versions:
5.0.42
Product / Package Ecosystem Affected Versions Fixed Version
@feathersjs/authentication-oauth
npm
≥ 5.0.0
< 5.0.42
5.0.42

References

Frequently Asked Questions

What is CVE-2026-29792?
CVE-2026-29792 is a security vulnerability in @feathersjs/authentication oauth involving Feathers has an OAuth Callback Account Takeover issue under CWE-287: Improper Authentication.
Which @feathersjs/authentication oauth versions are affected?
Affected versions include releases prior to 5.0.42 across affected packages: @feathersjs/authentication-oauth.
What version fixes CVE-2026-29792?
Upgrading to 5.0.42 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @feathersjs/authentication-oauth affected?
Yes, @feathersjs/authentication-oauth is affected in releases prior to 5.0.42. Upgrade your dependency to 5.0.42 or later.
What CWE is associated with CVE-2026-29792?
CVE-2026-29792 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check npm dependencies for CVE-2026-29792?
Run the dependency tree command: 'npm ls @feathersjs/authentication-oauth'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wg9x-qfgw-pxhj",
  "modified" : "2026-03-10T22:55:36Z",
  "published" : "2026-03-10T21:03:28Z",
  "aliases" : [ "CVE-2026-29792" ],
  "summary" : "Feathers has an OAuth Callback Account Takeover issue",
  "details" : "An unauthenticated attacker can send a crafted GET request directly to `/oauth/:provider/callback` with a forged profile in the query string. The OAuth service's authentication payload has a fallback chain that reaches params.query (the raw request query) when Grant's session/state responses are empty. Since the attacker never initiated an OAuth authorize flow, Grant has no session to work with and produces no response, so the fallback fires. The forged profile then drives entity lookup and JWT minting. The attacker gets a valid access token for an existing user without ever contacting the OAuth provider. Critical (CVSS 9.8)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@feathersjs/authentication-oauth"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.42"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.0.41"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/feathersjs/feathers/security/advisories/GHSA-wg9x-qfgw-pxhj"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-29792"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/feathersjs/feathers"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-10T21:03:28Z",
    "nvd_published_at" : "2026-03-10T20:16:39Z"
  }
}