CVE-2026-27191
CVE-2026-27191 · Feathers: Open Redirect in OAuth callback enables account takeover
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. Versions 5.0.39 and below the redirect query parameter is appended to the base origin without validation, allowing attackers to steal access tokens via URL authority injection. This leads to full account takeover, as the attacker obtains the victim's access token and can impersonate them. The application constructs the final redirect URL by concatenating the base origin with the user-supplied redirect parameter. This is exploitable when the origins array is configured and origin values do not end with /. An attacker can supply @attacker.com as the redirect value results in https://[email protected]#access_token=..., where the browser interprets attacker.com as the host, leading to full account takeover. This issue has been fixed in version 5.0.40.
CVSS 7.4 · High · EPSS 0.3% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
feathers
- Versions
- < 5.0.40: Affected
No fix published
@feathersjs/authentication-oauth npm
- Affected ranges
- SEMVER: < 5.0.40
Update to 5.0.40