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-27192

CVE-2026-27192: Feathersjs Auth Bypass Vulnerability

CVE-2026-27192 is an authentication bypass flaw in Feathersjs Feathers caused by flawed origin validation using startsWith(). Attackers can exploit this to achieve account takeover. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 27, 2026

CVE-2026-27192 Overview

CVE-2026-27192 is an Authorization Bypass 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 origin validation uses an insecure startsWith() comparison method. This allows attackers to bypass origin checks by registering a domain that shares a common prefix with an allowed origin, potentially leading to full account takeover through OAuth token exfiltration.

Critical Impact

Attackers can bypass OAuth origin validation by registering malicious domains with matching prefixes (e.g., https://target.com.attacker.com bypasses https://target.com), enabling OAuth flow manipulation and potential account takeover through token theft.

Affected Products

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

Discovery Timeline

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

Technical Details for CVE-2026-27192

Vulnerability Analysis

The vulnerability resides in the getAllowedOrigin() function within the @feathersjs/authentication-oauth package. When validating OAuth requests, the function checks if the HTTP Referer header starts with any configured allowed origin. This prefix-based comparison is fundamentally flawed because it fails to properly validate the complete origin, allowing domain suffix attacks.

The insecure validation occurs when an application configures an origins array for OAuth authentication. An attacker can exploit this by registering a domain that starts with an allowed origin string. For example, if https://target.com is configured as an allowed origin, an attacker could register https://target.com.attacker.com which would pass the startsWith() validation check.

While tokens are still redirected to a configured origin under normal circumstances, specific attack scenarios allow an attacker to initiate the OAuth flow from an unauthorized origin and exfiltrate authentication tokens, achieving full account takeover.

Root Cause

The root cause is improper origin validation using JavaScript's startsWith() method instead of proper URL origin comparison. The vulnerable code performs a case-insensitive prefix match on the Referer header against allowed origins, which fails to account for subdomain structures and URL parsing semantics. Proper origin validation requires parsing the full URL and comparing the complete origin (protocol + host + port) rather than just checking for a matching prefix.

Attack Vector

The attack requires network access and user interaction. An attacker must register a malicious domain that begins with an allowed origin (e.g., target.com.attacker.com to bypass target.com). When a victim initiates or is tricked into initiating an OAuth flow from the attacker-controlled domain, the origin validation is bypassed due to the prefix match. The attacker can then potentially intercept OAuth tokens during the authentication callback, leading to account takeover.

Vulnerable Code:

typescript
    if (Array.isArray(origins)) {
      const referer = params?.headers?.referer || origins[0]
      const allowedOrigin = origins.find((current) => referer.toLowerCase().startsWith(current.toLowerCase()))

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

Source: GitHub Commit ee19a0ae9bc2ebf23b1fe598a1f7361981b65401

Fixed Code:

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

Detection Methods for CVE-2026-27192

Indicators of Compromise

  • OAuth authentication requests originating from domains that share prefixes with legitimate configured origins
  • Unusual Referer headers containing allowed origin strings as prefixes followed by attacker-controlled domains
  • Authentication tokens being requested from unexpected subdomains or lookalike domains
  • User reports of unauthorized account access following OAuth login attempts

Detection Strategies

  • Monitor web server logs for OAuth callback requests with suspicious Referer headers containing prefix-matched domains
  • Implement alerting on OAuth flows originating from domains not in the explicit allowlist
  • Review access logs for patterns where the Referer domain extends beyond configured allowed origins
  • Deploy web application firewall rules to flag requests where Referer contains allowed origins as substrings

Monitoring Recommendations

  • Enable verbose logging for the @feathersjs/authentication-oauth module to capture all origin validation decisions
  • Set up real-time monitoring for failed authentication attempts with unusual Referer patterns
  • Implement domain registration monitoring for lookalike domains targeting your OAuth-enabled applications
  • Configure SIEM rules to correlate OAuth authentication events with unusual geographic or behavioral patterns

How to Mitigate CVE-2026-27192

Immediate Actions Required

  • Upgrade FeathersJS to version 5.0.40 or later immediately
  • Audit current OAuth origin configurations to identify potentially vulnerable deployments
  • Review authentication logs for signs of exploitation attempts
  • Consider temporarily restricting OAuth authentication to verified clients while patching

Patch Information

The vulnerability has been fixed in FeathersJS version 5.0.40. The patch modifies the origin validation logic to properly parse URLs using the URL constructor and compare full origins instead of using prefix matching. The fix ensures that https://target.com.attacker.com will no longer match against https://target.com because the parsed origins are fundamentally different.

For detailed patch information, see the GitHub Security Advisory GHSA-mp4x-c34x-wv3x and the official release notes for v5.0.40.

Workarounds

  • If immediate upgrade is not possible, implement reverse proxy rules to validate Referer headers before they reach the application
  • Temporarily disable OAuth authentication and use alternative authentication methods
  • Add explicit domain validation at the application layer before OAuth processing
  • Configure Content Security Policy headers to restrict framing and form submissions to known origins
bash
# Update FeathersJS to patched version
npm update @feathersjs/feathers@5.0.40
npm update @feathersjs/authentication-oauth@5.0.40

# Verify installation
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.6

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/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-346
  • Technical References
  • GitHub Release v5.0.40

  • GitHub Security Advisory GHSA-mp4x-c34x-wv3x
  • Vendor Resources
  • GitHub Commit Details
  • Related CVEs
  • CVE-2026-29792: Feathersjs OAuth Auth Bypass Vulnerability

  • CVE-2026-27191: 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