Feathersjs OAuth Callback Unauthenticated Token Theft Vulnerability

Vulnerability

A vulnerability in Feathersjs versions 5.0.0 prior to 5.0.42 allows an unauthenticated attacker to obtain a valid access token by sending a crafted GET request to /oauth/:provider/callback. The attack exploits a fallback mechanism in the OAuth authentication process that inadvertently allows the attacker to bypass the OAuth provider and directly mint a JWT for an existing user.

Impact

Exploitation of this vulnerability allows for unauthorized access to user accounts by obtaining valid access tokens without interacting with the OAuth provider.

Remediation

Users can upgrade to Feathersjs version 5.0.42 or later to address this vulnerability.

Added: Mar 10, 2026, 8:23 PM
Updated: Mar 10, 2026, 8:23 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
7.0
remediation
0.0
relevance
3.7
threat
0.0
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.