
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-27191 is an open redirect vulnerability in the @feathersjs/authentication-oauth package that enables full account takeover via URL authority injection during OAuth callback handling. The flaw affects all versions of @feathersjs/feathers (npm) up to and including 5.0.39, and was disclosed on February 18, 2026, with a patch released in version 5.0.40. It carries a CVSS v3.1 base score of 6.1 (Medium) and a CVSS v4.0 base score of 7.4 (High) (GitHub Advisory, Feathers Security Advisory).
The root cause is improper input validation of the redirect query parameter (CWE-601: URL Redirection to Untrusted Site). The application constructs the final OAuth redirect URL by directly concatenating a configured base origin with the user-supplied ?redirect= parameter value — const redirectUrl = \${redirect}${queryRedirect}`— without sanitizing characters that can alter URL authority. An attacker supplying@attacker.comas the redirect value produces a URL likehttps://target.com@attacker.com#access_token=...`, which browsers parse with attacker.com as the actual host, causing the access token to be sent to the attacker's server. A secondary weakness existed in origin validation: the startsWith() comparison allowed bypass by domains sharing a prefix with an allowed origin (e.g., https://target.com.attacker.com). Exploitation requires the origins array to be configured and origin values to not end with / (GitHub Advisory, Patch Commit).
Successful exploitation results in full account takeover: the attacker captures the victim's OAuth access token and can impersonate them across any service relying on that token. Confidentiality and integrity of the victim's account are fully compromised, as the attacker gains the same privileges as the authenticated user. There is no direct availability impact, but the stolen token can be used for unauthorized actions, data exfiltration, or privilege escalation within the application (GitHub Advisory, Feathers Security Advisory).
No public exploit code or in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is approximately 0.039% (2nd percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires user interaction — a victim must click a crafted OAuth login link — and the target application must have the origins array configured with values not ending in / (GitHub Advisory).
@feathersjs/authentication-oauth version ≤ 5.0.39 with OAuth login enabled and the origins array configured (origin values not ending with /).?redirect= parameter, e.g., https://target.com/oauth/github?redirect=@attacker.com, where attacker.com is an attacker-controlled server.https://target.com@attacker.com#access_token=<victim_token>. The browser interprets attacker.com as the host and sends the request — including the access token in the URL fragment — to the attacker's server.attacker.com and uses it to impersonate the victim (GitHub Advisory, Patch Commit).@ characters, //, or backslashes in the redirect parameter./oauth/github/callback) with redirect query parameters containing @, //, or \ characters; NotAuthenticated errors for Invalid redirect path (post-patch) indicating attempted exploitation.Upgrade @feathersjs/authentication-oauth to version 5.0.40 or later, which validates the redirect parameter by rejecting values containing @, //, or \ characters, and fixes origin validation to use exact origin comparison via new URL().origin instead of startsWith(). As a temporary workaround, ensure all configured origins values end with /, which reduces exploitability. Additionally, restrict the OAuth login endpoint to trusted referrers at the network or WAF level (GitHub Release v5.0.40, Patch Commit).
The vulnerability was discovered and responsibly disclosed by researchers Abdelwahed Madani Yousfi (@vvxhid), Edoardo Geraci (@b0-n0-b0), and Thomas Rinsma (@ThomasRinsma) from Codean Labs. The Feathers maintainer (daffl) published the advisory and patch promptly on February 18, 2026. No significant broader media coverage or notable community controversy has been observed beyond the standard advisory publication (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."