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.
Published: 2026-02-21
Score: 7.4 High
EPSS: < 1% Very Low
KEV: No
Impact: Account Takeover via OAuth redirect
Action: Immediate Patch
AI Analysis

Impact

A flaw in FeathersJS allows an attacker to manipulate the OAuth callback redirect URL, causing the application to construct a redirect that injects a malicious host. By including a value such as @attacker.com in the redirect parameter, the browser interprets the request as going to attacker.com while preserving the access token in the fragment. The attacker can then capture the victim’s access token, which enables full impersonation of the user. The weakness is identified as CWE‑601 – Open Redirect.

Affected Systems

Applications built with FeathersJS version 5.0.39 or earlier are affected. The bug appears when the "origins" array in the Feathers configuration is used and the origin values lack a trailing slash, allowing the redirect concatenation to form a URL with the attacker’s host. The fix is included in version 5.0.40.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.4, indicating high potential for exploitation. The EPSS score is below 1%, suggesting low current exploitation probability, and the issue is not listed in the CISA KEV catalog. The attack vector is likely an unauthenticated request to an OAuth endpoint that accepts an attacker‑controlled redirect parameter. Users may be tricked into visiting a crafted link, enabling the attacker to steal tokens and gain full account access. No public exploits are known, but the combination of a high CVSS score and the nature of OAuth makes this a priority for remediation.

Generated by OpenCVE AI on April 18, 2026 at 11:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update FeathersJS to version 5.0.40 or later, which removes the redirect concatenation flaw.
  • Ensure that all entries in the OAuth origins array end with a trailing slash to prevent unintended URL construction.
  • Audit existing OAuth tokens and revoke any that may have been compromised, and implement monitoring for suspicious login activity.

Generated by OpenCVE AI on April 18, 2026 at 11:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-ppf9-4ffw-hh4p Feathers has an open redirect in OAuth callback enables account takeover
History

Wed, 25 Feb 2026 22:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 25 Feb 2026 15:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:feathersjs:feathers:*:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Mon, 23 Feb 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Feathersjs
Feathersjs feathers
Vendors & Products Feathersjs
Feathersjs feathers

Sat, 21 Feb 2026 04:00:00 +0000

Type Values Removed Values Added
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.
Title Feathers: Open Redirect in OAuth callback enables account takeover
Weaknesses CWE-601
References
Metrics cvssV4_0

{'score': 7.4, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Feathersjs Feathers
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-25T21:24:54.980Z

Reserved: 2026-02-18T19:47:02.154Z

Link: CVE-2026-27191

cve-icon Vulnrichment

Updated: 2026-02-25T21:24:51.611Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-21T04:15:58.493

Modified: 2026-02-25T15:12:58.400

Link: CVE-2026-27191

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T11:30:44Z

Weaknesses