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

CVE-2026-29793: Feathersjs MongoDB Injection Vulnerability

CVE-2026-29793 is a SQL injection flaw in Feathersjs that allows attackers to manipulate MongoDB queries through Socket.IO clients. This article covers technical details, affected versions, impact, and mitigation.

Published: March 13, 2026

CVE-2026-29793 Overview

CVE-2026-29793 is a critical NoSQL Injection vulnerability affecting FeathersJS, a popular framework for creating web APIs and real-time applications with TypeScript or JavaScript. The vulnerability allows Socket.IO clients to send arbitrary JavaScript objects as the id argument to any service method (get, patch, update, remove). The transport layer performs no type checking on this argument, and when the service uses the MongoDB adapter, these objects pass through getObjectId() and land directly in the MongoDB query as operators.

Critical Impact

Attackers can bypass authentication and authorization controls by injecting MongoDB operators like {$ne: null} as the id parameter, potentially matching and manipulating every document in a collection.

Affected Products

  • FeathersJS versions 5.0.0 to before 5.0.42
  • Applications using FeathersJS with MongoDB adapter
  • Services exposed via Socket.IO transport

Discovery Timeline

  • 2026-03-10 - CVE CVE-2026-29793 published to NVD
  • 2026-03-11 - Last updated in NVD database

Technical Details for CVE-2026-29793

Vulnerability Analysis

This vulnerability is classified under CWE-943 (Improper Neutralization of Special Elements in Data Query Logic). The root issue lies in how FeathersJS handles untrusted input from Socket.IO clients before passing it to the MongoDB adapter.

When a Socket.IO client invokes service methods like get(), patch(), update(), or remove(), the id parameter is expected to be a simple identifier (string or ObjectId). However, the transport layer does not validate the type of this argument. This allows attackers to supply complex JavaScript objects containing MongoDB query operators instead of simple identifiers.

The vulnerable code path processes the attacker-controlled object through getObjectId(), which does not sanitize MongoDB operators. This results in the malicious object being embedded directly into the MongoDB query, enabling NoSQL injection attacks.

Root Cause

The vulnerability stems from missing input validation and type checking in the Socket.IO transport layer of FeathersJS. The framework trusts client-supplied data without verifying that the id parameter is a primitive value (string or number) rather than a complex object. This allows MongoDB query operators to be injected directly into database queries.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can connect to the Socket.IO endpoint and send crafted messages with malicious id parameters to any exposed service method.

For example, sending {$ne: null} as the id parameter to a get() or remove() method would match every document in the collection where the _id field is not null—effectively targeting all documents. This can lead to:

  • Mass data exfiltration: Retrieving all documents from a collection
  • Mass data destruction: Deleting all documents in a collection
  • Data manipulation: Updating arbitrary records with attacker-controlled values

The attack exploits MongoDB's query operator syntax, where special keys prefixed with $ are interpreted as operators rather than literal field values. For detailed technical information, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-29793

Indicators of Compromise

  • Socket.IO messages containing MongoDB operators ($ne, $gt, $lt, $regex, $where, etc.) in service method parameters
  • Unexpected bulk operations in MongoDB logs affecting large numbers of documents
  • Service method calls with object-type id parameters instead of string or ObjectId values
  • Abnormal patterns of get, patch, update, or remove operations across collections

Detection Strategies

  • Implement application-layer logging to capture and analyze Socket.IO message payloads
  • Monitor MongoDB query logs for queries containing operator objects in the _id field
  • Deploy Web Application Firewall (WAF) rules to detect JSON payloads with MongoDB operator patterns
  • Use runtime application self-protection (RASP) solutions to detect and block NoSQL injection attempts

Monitoring Recommendations

  • Enable detailed logging for all FeathersJS service method invocations
  • Set up alerts for MongoDB queries that match unusually large numbers of documents
  • Monitor for Socket.IO connections exhibiting suspicious patterns such as rapid service method calls
  • Implement anomaly detection for database operations that deviate from normal application behavior

How to Mitigate CVE-2026-29793

Immediate Actions Required

  • Upgrade FeathersJS to version 5.0.42 or later immediately
  • Review application logs for evidence of exploitation attempts
  • Audit all services using the MongoDB adapter for potential data breaches
  • Implement input validation hooks to sanitize id parameters at the application level

Patch Information

The vulnerability is fixed in FeathersJS version 5.0.42. The fix implements proper type checking on the id argument in the transport layer to ensure only primitive values (strings, numbers, or valid ObjectId instances) are accepted. For more information, see the GitHub Security Advisory.

Workarounds

  • Add a custom hook to validate that id parameters are primitive values before processing
  • Implement application-level input sanitization to reject object-type id parameters
  • Consider temporarily disabling Socket.IO transport if not required for application functionality
  • Use a reverse proxy or WAF to filter requests containing MongoDB operator patterns
bash
# Update FeathersJS to patched version
npm update @feathersjs/feathers@5.0.42

# Or update all FeathersJS packages
npm update @feathersjs/socketio @feathersjs/mongodb

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechFeathersjs

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-943
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-29792: Feathersjs OAuth Auth Bypass Vulnerability

  • CVE-2026-27191: Feathersjs Auth Bypass Vulnerability

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