Feathersjs has an OAuth Callback Account Takeover
Description
Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. From 5.0.0 to before 5.0.42, 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. This vulnerability is fixed in 5.0.42.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@feathersjs/authentication-oauthnpm | >= 5.0.0, < 5.0.42 | 5.0.42 |
Affected products
3- @feathersjs/authentication-oauthv5Range: >= 5.0.0, < 5.0.42
- Range: >= 5.0.0, < 5.0.42
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-wg9x-qfgw-pxhjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-29792ghsaADVISORY
- github.com/feathersjs/feathers/security/advisories/GHSA-wg9x-qfgw-pxhjghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.