Intel

AIKIDO-2026-305629

@feathersjs/authentication-oauth is vulnerable to Improper Authentication

GHSA-h6m8-62c7-8mj5Published Oct 26, 2026
October 26, 2026

91

CVE Score

Critical

Improper Authentication

Are you affected? Scan for Free

TL;DR

@feathersjs/authentication-oauth accepts an OAuth callback with an empty or missing code as a completed login. The profile error is nested on profile.error, and the default entity query uses an undefined provider id, so findEntity can return an existing user and the service issues a JWT for that user. The callback also accepts a client supplied Apple identity, a code sent to a different provider route, endpoint overrides when dynamic is true, and a feathers_token that links the provider login to that account. The fix rejects a callback with no code or token, requires a profile id, uses a verified Apple id_token, ignores protected dynamic options, and accepts feathers_token only from an allowed origin.

How do I fix this?

Upgrade the @feathersjs/authentication-oauth library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application uses OAuth sign-in.

Versions

4.3.0 - 5.0.50

Fixed in 5.0.51

Background info

@feathersjs/authentication-oauth is vulnerable to Improper Authentication in versions 4.3.0 - 5.0.50.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea