Skip to main content
← All vulnerabilities
CVE-2026-29793GHSA-P9XR-7P9P-GPQX

NoSQL Injection via WebSocket id Parameter in MongoDB Adapter

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.42
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. From 5.0.0 to before 5.0.42, Socket.IO clients can 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. When the service uses the MongoDB adapter, these objects pass through getObjectId() and land directly in the MongoDB query as operators. Sending {$ne: null} as the id matches every document in the collection. This vulnerability is fixed in 5.0.42.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • @feathersjs mongodb

    From 5.0.0 · fixed in 5.0.42

  • @feathersjs/mongodbnpm

    From 5.0.0 · fixed in 5.0.42

References 1

GitHub · feathersjs/feathers