Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-27191: CWE-601: URL Redirection to Untrusted Site ('Open Redirect') in feathersjs feathers

0
High
VulnerabilityCVE-2026-27191cvecve-2026-27191cwe-601
Published: Sat Feb 21 2026 (02/21/2026, 03:23:28 UTC)
Source: CVE Database V5
Vendor/Project: feathersjs
Product: feathers

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/01/2026, 00:47:32 UTC

Technical Analysis

CVE-2026-27191 is an open redirect vulnerability classified under CWE-601 found in the feathersjs framework, a popular tool for building web APIs and real-time applications using JavaScript or TypeScript. In versions 5.0.39 and earlier, the framework improperly handles the redirect query parameter by appending it directly to the base origin URL without sufficient validation. Specifically, when the origins array is configured and origin values do not end with a trailing slash, an attacker can supply a redirect parameter containing an '@' symbol, such as '@attacker.com'. This causes the constructed URL to appear as https://target.com@attacker.com#access_token=..., where the browser interprets 'attacker.com' as the host rather than 'target.com'. Consequently, access tokens embedded in the URL fragment can be stolen by the attacker. This token theft enables full account takeover, as the attacker can impersonate the victim user. Exploitation requires user interaction (e.g., clicking a malicious link) but no prior authentication or privileges. The vulnerability has a CVSS 4.0 score of 7.4 (high severity), reflecting the significant impact on confidentiality and integrity, though exploitation complexity is high due to the need for user interaction and specific configuration conditions. The issue was addressed and fixed in feathersjs version 5.0.40.

Potential Impact

This vulnerability poses a serious risk to organizations using vulnerable versions of feathersjs, especially those deploying web applications that rely on URL redirects for authentication flows or token handling. Attackers can craft malicious URLs that, when visited by users, result in the theft of access tokens, enabling full account takeover and impersonation. This compromises user confidentiality and integrity, potentially leading to unauthorized access to sensitive data, manipulation of user accounts, and further lateral movement within affected systems. The impact is amplified in environments where access tokens grant broad privileges or where multi-factor authentication is not enforced. Additionally, the vulnerability can undermine user trust and expose organizations to regulatory and reputational damage. Given the widespread use of feathersjs in modern web applications, the scope of affected systems is significant, particularly in sectors relying on real-time APIs and JavaScript-based frameworks.

Mitigation Recommendations

Organizations should immediately upgrade all instances of feathersjs to version 5.0.40 or later, where this vulnerability is fixed. In addition to upgrading, developers should implement strict validation and sanitization of all redirect parameters, ensuring that user-supplied input cannot alter the URL authority or host component. Employing allowlists for redirect destinations and enforcing trailing slashes in origin configurations can prevent exploitation. Security teams should audit existing applications for usage of vulnerable versions and monitor logs for suspicious redirect patterns or unusual access token exposures. Implementing short-lived tokens and binding tokens to specific origins or client contexts can reduce the impact of token theft. User education on avoiding clicking suspicious links and deploying web application firewalls (WAFs) with rules to detect open redirect attempts can provide additional defense layers.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-18T19:47:02.154Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69992e44be58cf853b3dcccb

Added to database: 2/21/2026, 4:02:12 AM

Last enriched: 3/1/2026, 12:47:32 AM

Last updated: 4/7/2026, 1:36:56 PM

Views: 102

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses