CVE-2026-27191 Feathers: Open Redirect in OAuth callback enables account takeover
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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://target.com@attacker.com#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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| feathersjs authentication-oauth(npm) | < 5.0.40; <= 5.0.39 | 5.0.40 | Fixed |
| feathersjs feathers | < 5.0.40; = < 5.0.40 | 5.0.40 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| feathersjs feathers | = < 5.0.40 | No fix listed |
| feathersjs authentication-oauth(npm) | <= 5.0.39 | No fix listed |
| feathersjs feathers | < 5.0.40 | 5.0.40 |
| feathersjs authentication-oauth(npm) | < 5.0.40 | 5.0.40 |
References
- https://github.com/feathersjs/feathers/security/advisories/GHSA-ppf9-4ffw-hh4p third-party-advisory vendor-advisory
- https://github.com/feathersjs/feathers/commit/ee19a0ae9bc2ebf23b1fe598a1f7361981b65401 patch
- https://github.com/feathersjs/feathers/releases/tag/v5.0.40 product release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product