GitHub Advisoryadvisory · npm
GHSA-wg9x-qfgw-pxhj Feathers has an OAuth Callback Account Takeover issue
CRITICAL
Official page ↗
- Aliases
- CVE-2026-29792
- Ecosystem
- npm
- Packages
- @feathersjs/authentication-oauth
- Severity
- Critical
- CVSS vector
- 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
- Weaknesses
- CWE-287
- Reviewed
- 2026-03-10
Affected packages
• npm @feathersjs/authentication-oauth: >= 5.0.0, < 5.0.42 → fixed in 5.0.42
Description
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)
Related
Alias · CVE (1)
- CVE-2026-29792 Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. vulnerability
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness