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-27192: CWE-346: Origin Validation Error in feathersjs feathers

0
High
VulnerabilityCVE-2026-27192cvecve-2026-27192cwe-346
Published: Sat Feb 21 2026 (02/21/2026, 03:50:35 UTC)
Source: CVE Database V5
Vendor/Project: feathersjs
Product: feathers

Description

CVE-2026-27192 is a high-severity origin validation vulnerability in the Feathersjs framework versions 5. 0. 39 and below. The flaw arises because the origin check uses a startsWith() string comparison, allowing attackers to bypass validation by registering domains that share a prefix with allowed origins (e. g. , https://target. com. attacker. com bypasses https://target. com).

AI-Powered Analysis

AILast updated: 02/21/2026, 04:16:27 UTC

Technical Analysis

Feathersjs is a popular JavaScript and TypeScript framework for building web APIs and real-time applications. In versions prior to 5.0.40, the framework's origin validation mechanism is flawed due to the use of the startsWith() method to verify if the Referer header matches any allowed origin. This method only checks if the Referer begins with an allowed origin string, which is insufficient because an attacker can register a malicious domain that prefixes the allowed origin string (for example, https://target.com.attacker.com). This bypasses the origin validation check, allowing the attacker to initiate OAuth authentication flows from unauthorized origins. While tokens are still redirected to configured origins, in certain scenarios this flaw enables attackers to exfiltrate OAuth tokens, resulting in full account takeover. The vulnerability is categorized under CWE-346 (Origin Validation Error) and has a CVSS 4.0 score of 7.6, indicating high severity. Exploitation requires user interaction but no privileges or authentication. The issue was publicly disclosed and fixed in Feathersjs version 5.0.40. No known exploits are currently reported in the wild.

Potential Impact

This vulnerability poses a significant risk to organizations using Feathersjs versions below 5.0.40, especially those implementing OAuth authentication flows. Successful exploitation can lead to unauthorized token exfiltration and full account takeover, compromising user accounts and potentially exposing sensitive data. The flaw undermines the integrity of origin validation, a critical security control in web authentication. Organizations relying on Feathersjs for API and real-time application development may face data breaches, unauthorized access, and reputational damage. The attack requires user interaction but no prior authentication, broadening the scope of potential victims. Given Feathersjs's adoption in various industries, the impact could be widespread, affecting both enterprise and consumer-facing applications.

Mitigation Recommendations

The primary mitigation is to upgrade Feathersjs to version 5.0.40 or later, where the origin validation logic has been corrected. Until upgrading is possible, organizations should implement stricter origin validation mechanisms that do not rely on prefix matching, such as exact string comparison or using standardized libraries for origin checks. Reviewing and restricting OAuth redirect URIs and origins to trusted domains is critical. Additionally, monitoring OAuth flows for anomalous origin headers and implementing multi-factor authentication can reduce risk. Developers should audit their applications for similar origin validation patterns and avoid using startsWith() or similar prefix-based checks for security-critical validations. Security teams should also educate users about phishing risks that could trigger malicious OAuth flows.

Need more detailed analysis?Upgrade to Pro Console

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: 69992e44be58cf853b3dccd0

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

Last enriched: 2/21/2026, 4:16:27 AM

Last updated: 2/21/2026, 7:00:12 AM

Views: 6

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 in Console -> Billing for AI refresh and higher limits.

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

Latest Threats