GHSA-wg9x-qfgw-pxhj

Suggest an improvement
Source
https://github.com/advisories/GHSA-wg9x-qfgw-pxhj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-wg9x-qfgw-pxhj/GHSA-wg9x-qfgw-pxhj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wg9x-qfgw-pxhj
Aliases
Published
2026-03-10T21:03:28Z
Modified
2026-03-13T04:22:30.917234Z
Severity
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
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)

Database specific
{
    "severity": "CRITICAL",
    "cwe_ids": [
        "CWE-287"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-10T21:03:28Z",
    "nvd_published_at": "2026-03-10T20:16:39Z"
}
References

Affected packages

npm / @feathersjs/authentication-oauth

Package

Name
@feathersjs/authentication-oauth
View open source insights on deps.dev
Purl
pkg:npm/%40feathersjs/authentication-oauth

Affected ranges

Type
SEMVER
Events
Introduced
5.0.0
Fixed
5.0.42

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-wg9x-qfgw-pxhj/GHSA-wg9x-qfgw-pxhj.json"
last_known_affected_version_range
"<= 5.0.41"