The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-27191

CVE-2026-27191: Feathersjs Auth Bypass Vulnerability

CVE-2026-27191 is an authentication bypass flaw in Feathersjs Feathers allowing attackers to steal access tokens via URL authority injection, leading to full account takeover. This article covers technical details, affected versions, impact, and mitigation.

Published: February 27, 2026

CVE-2026-27191 Overview

CVE-2026-27191 is an Open Redirect vulnerability in FeathersJS, a popular framework for creating web APIs and real-time applications with TypeScript or JavaScript. The vulnerability exists in the OAuth authentication module where the redirect query parameter is appended to the base origin without proper validation. This allows attackers to steal access tokens via URL authority injection, leading to full account takeover.

Critical Impact

Attackers can exploit this vulnerability to steal OAuth access tokens by injecting malicious redirect URLs, enabling complete account impersonation and takeover of victim accounts.

Affected Products

  • FeathersJS Feathers versions 5.0.39 and below
  • Applications using @feathersjs/authentication-oauth package
  • Node.js applications with OAuth authentication configured with origins array

Discovery Timeline

  • 2026-02-21 - CVE CVE-2026-27191 published to NVD
  • 2026-02-25 - Last updated in NVD database

Technical Details for CVE-2026-27191

Vulnerability Analysis

The vulnerability stems from improper validation in the OAuth redirect flow within FeathersJS. When the origins array is configured and origin values do not end with a trailing slash (/), the application constructs the final redirect URL by concatenating the base origin with the user-supplied redirect parameter without proper sanitization. This architectural flaw allows attackers to manipulate URL authority interpretation by the browser.

The attack exploits URL parsing behavior where @ characters can be used to specify credentials in a URL. When an attacker supplies @attacker.com as the redirect value, the resulting URL becomes https://target.com@attacker.com#access_token=.... In this case, the browser interprets attacker.com as the actual host, with target.com being treated as the username portion of the URL authority.

Root Cause

The root cause is insufficient validation of the redirect parameter combined with improper origin comparison. The original code used a prefix-based comparison (startsWith) for referer validation rather than proper URL origin parsing. This allowed attackers to bypass origin restrictions because the comparison didn't account for URL authority injection techniques. The referer header was also not properly parsed to extract its actual origin before comparison.

Attack Vector

The attack is network-based and requires user interaction. An attacker crafts a malicious OAuth authentication link containing a specially crafted redirect parameter such as @attacker.com. When a victim clicks the link and completes OAuth authentication, the access token is appended to the redirect URL. Due to the URL authority injection, the browser sends the request (including the access token in the URL fragment) to attacker.com instead of the legitimate target domain.

The following code shows the security patch that addresses the vulnerability by implementing proper URL origin parsing:

typescript
    if (Array.isArray(origins)) {
      const referer = params?.headers?.referer || origins[0]

      // Parse the referer to get its origin for proper comparison
      let refererOrigin: string
      try {
        refererOrigin = new URL(referer).origin
      } catch {
        throw new NotAuthenticated(`Invalid referer "${referer}".`)
      }

      // Compare full origins
      const allowedOrigin = origins.find((current) => refererOrigin.toLowerCase() === current.toLowerCase())

      if (!allowedOrigin) {
        throw new NotAuthenticated(`Referer "${referer}" is not allowed.`)

Source: GitHub Commit ee19a0ae9bc2ebf23b1fe598a1f7361981b65401

The fix properly parses the referer URL using the URL constructor and compares the full origin instead of using a prefix-based match.

Detection Methods for CVE-2026-27191

Indicators of Compromise

  • OAuth redirect URLs containing @ characters followed by external domains
  • Unusual access patterns from OAuth callback endpoints with malformed redirect parameters
  • Access token leakage in server logs showing redirects to unexpected domains
  • Authentication flows redirecting to domains not in the configured origins list

Detection Strategies

  • Monitor OAuth authentication endpoints for redirect parameters containing URL authority injection patterns (e.g., @ followed by domain names)
  • Implement web application firewall rules to detect and block requests with suspicious redirect parameter values
  • Review application logs for failed authentication attempts with "Invalid referer" errors after patching
  • Set up alerts for OAuth token issuance events followed by redirects to non-whitelisted domains

Monitoring Recommendations

  • Enable verbose logging on OAuth authentication flows to capture full redirect URLs
  • Monitor for unusual spikes in OAuth authentication requests from single IP addresses
  • Track referrer headers in authentication requests for anomalies or patterns indicative of attack attempts
  • Implement real-time alerting for OAuth callback requests containing potential injection payloads

How to Mitigate CVE-2026-27191

Immediate Actions Required

  • Upgrade FeathersJS to version 5.0.40 or later immediately
  • Review OAuth configuration to ensure all values in the origins array include trailing slashes
  • Audit application logs for evidence of exploitation attempts prior to patching
  • Invalidate and rotate all OAuth access tokens issued prior to patching if compromise is suspected

Patch Information

The vulnerability has been fixed in FeathersJS version 5.0.40. The patch implements proper URL origin parsing using the URL constructor and changes the origin comparison from prefix-based matching to exact origin matching. Additionally, the patch limits stored session headers to only the referer header needed for origin validation.

For detailed patch information, see the GitHub Security Advisory GHSA-ppf9-4ffw-hh4p and the Release Notes for v5.0.40.

Workarounds

  • Ensure all origins in the OAuth configuration array end with a trailing slash (/) to prevent authority injection
  • Implement additional server-side validation of redirect parameters before processing OAuth callbacks
  • Use a reverse proxy or WAF to filter requests containing suspicious redirect parameter patterns
  • Consider temporarily disabling OAuth authentication if immediate patching is not possible
bash
# Update FeathersJS to patched version
npm update @feathersjs/feathers@5.0.40
npm update @feathersjs/authentication-oauth@5.0.40

# Verify installed version
npm list @feathersjs/feathers
npm list @feathersjs/authentication-oauth

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechFeathersjs

  • SeverityHIGH

  • CVSS Score7.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-601
  • Technical References
  • GitHub Release v5.0.40

  • GitHub Security Advisory GHSA-ppf9-4ffw-hh4p
  • Vendor Resources
  • GitHub Commit Note
  • Related CVEs
  • CVE-2026-29792: Feathersjs OAuth Auth Bypass Vulnerability

  • CVE-2026-27192: Feathersjs Auth Bypass Vulnerability

  • CVE-2026-29793: Feathersjs MongoDB Injection Vulnerability

  • CVE-2026-27193: Feathersjs Information Disclosure Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English