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

CVE-2026-27193: Feathersjs Information Disclosure Flaw

CVE-2026-27193 is an information disclosure vulnerability in Feathersjs that exposes HTTP headers in signed session cookies. Attackers can decode base64 values to access internal infrastructure details. Learn the technical details, affected versions, impact, and mitigation.

Published: February 27, 2026

CVE-2026-27193 Overview

CVE-2026-27193 is an information exposure vulnerability in FeathersJS, a popular framework for creating web APIs and real-time applications with TypeScript or JavaScript. In versions 5.0.39 and below, the OAuth authentication service stores all HTTP request headers in the session cookie. While the cookie is signed to prevent tampering, it is not encrypted, meaning the contents are readable by anyone who can simply decode the base64 value. This design flaw exposes internal proxy and gateway headers to clients, potentially leaking sensitive infrastructure details.

Critical Impact

Attackers can decode session cookies to expose sensitive internal infrastructure details including API keys, service tokens, and internal IP addresses from reverse proxy or API gateway deployments.

Affected Products

  • FeathersJS Feathers versions 5.0.39 and below
  • Applications using @feathersjs/authentication-oauth package
  • Deployments behind reverse proxies or API gateways that inject sensitive headers

Discovery Timeline

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

Technical Details for CVE-2026-27193

Vulnerability Analysis

This information exposure vulnerability (CWE-200) stems from an insecure design decision in the FeathersJS OAuth authentication flow. When a user initiates OAuth authentication, the framework captures the entire HTTP headers object from the incoming request and persists it within the session data. The session is then serialized using cookie-session, which employs base64 encoding for storage.

The core issue is that while the session cookie is cryptographically signed to detect tampering, the data itself remains unencrypted. Base64 is an encoding scheme, not an encryption mechanism, meaning any party with access to the cookie can trivially decode and read its contents. In production environments where applications sit behind reverse proxies, load balancers, or API gateways, these infrastructure components commonly inject headers containing sensitive information such as X-Api-Key, X-Service-Token, X-Real-IP, X-Forwarded-For, and internal routing metadata.

Root Cause

The root cause lies in the OAuth service implementation within packages/authentication-oauth/src/service.ts. The original code indiscriminately stored the complete headers object in the session:

typescript
session.headers = headers

This approach violates the principle of least privilege for data storage—only the referer header was actually needed for origin validation during the OAuth callback flow. By storing all headers, the framework inadvertently created a side-channel for leaking infrastructure secrets.

Attack Vector

The attack requires network access and exploits the base64-encoded session cookie. An attacker can:

  1. Initiate an OAuth authentication flow against a vulnerable FeathersJS application
  2. Intercept or obtain the session cookie set by the server
  3. Decode the base64-encoded cookie value using standard tools
  4. Extract sensitive header values that were captured during the request

The following patch demonstrates the security fix implemented in version 5.0.40:

typescript
 
    session.redirect = redirect
    session.query = restQuery
-    session.headers = headers
+    // Only store the referer header needed for origin validation
+    session.headers = {
+      referer: headers?.referer
+    }

    return this.handler('GET', handlerParams, {})
  }

Source: GitHub Commit

Additionally, the patch strengthens origin validation in packages/authentication-oauth/src/strategy.ts to properly parse and compare referer origins:

typescript
 
    if (Array.isArray(origins)) {
      const referer = params?.headers?.referer || origins[0]
-      const allowedOrigin = origins.find((current) => referer.toLowerCase().startsWith(current.toLowerCase()))
+
+      // 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

Detection Methods for CVE-2026-27193

Indicators of Compromise

  • Unexplained access to internal infrastructure endpoints using leaked API keys or service tokens
  • Authentication attempts from unexpected IP addresses using valid session tokens
  • Anomalous API gateway or reverse proxy log entries indicating header reconnaissance
  • Evidence of base64 decoding tools or scripts targeting session cookies in endpoint logs

Detection Strategies

  • Monitor for unusually large session cookies that may indicate header data storage bloat
  • Implement logging for OAuth authentication flows to detect reconnaissance activity
  • Review application logs for failed authentication attempts that reference internal infrastructure details
  • Deploy web application firewalls (WAF) with rules to detect base64-encoded data exfiltration patterns

Monitoring Recommendations

  • Enable verbose logging on reverse proxies and API gateways to track header injection
  • Implement real-time alerting for access to sensitive internal endpoints from external sources
  • Audit session cookie sizes—cookies significantly larger than typical authentication tokens may indicate the vulnerability
  • Use SentinelOne Singularity to monitor for suspicious process behavior and network connections indicative of credential harvesting

How to Mitigate CVE-2026-27193

Immediate Actions Required

  • Upgrade FeathersJS to version 5.0.40 or later immediately
  • Rotate any API keys, service tokens, or credentials that may have been exposed through proxy headers
  • Review reverse proxy and API gateway configurations to minimize sensitive header injection
  • Invalidate existing session cookies to prevent exploitation of already-issued tokens

Patch Information

The vulnerability has been fixed in FeathersJS version 5.0.40. The patch modifies the OAuth service to store only the referer header required for origin validation, rather than the complete headers object. Additionally, the fix includes improved origin validation logic to prevent related bypass attacks.

Update your project dependencies:

bash
npm update @feathersjs/feathers @feathersjs/authentication-oauth

Or specify the exact version:

bash
npm install @feathersjs/feathers@5.0.40 @feathersjs/authentication-oauth@5.0.40

For detailed information, see the GitHub Security Advisory and Release Notes.

Workarounds

  • Configure reverse proxies to strip sensitive internal headers before forwarding requests to the FeathersJS application
  • Implement middleware to sanitize the request headers object before OAuth processing
  • Use encrypted session storage mechanisms instead of cookie-session if upgrading is not immediately possible
  • Deploy network segmentation to limit the impact of exposed internal IP addresses or routing information
bash
# Example nginx configuration to strip sensitive headers
proxy_set_header X-Api-Key "";
proxy_set_header X-Service-Token "";
proxy_set_header X-Internal-Route "";

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechFeathersjs

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/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
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Technical References
  • GitHub Release Note

  • GitHub Security Advisory
  • Vendor Resources
  • GitHub Commit Log
  • Related CVEs
  • CVE-2026-29793: Feathersjs MongoDB Injection Vulnerability

  • CVE-2026-29792: Feathersjs OAuth Auth Bypass Vulnerability

  • CVE-2026-27191: Feathersjs Auth Bypass Vulnerability

  • CVE-2026-27192: Feathersjs Auth Bypass Vulnerability
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