What’s Vulnerable › Vulnerabilities
CVE-2026-29793: NoSQL Injection via WebSocket id Parameter in MongoDB Adapter
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-10 · updated 2026-06-17
- Weakness: CWE-943
Description
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.
Affected products
- feathersjs feathers: from 5.0.0 before 5.0.42 — fixed in 5.0.42
How to fix
Upgrade to a fixed version: feathersjs feathers 5.0.42. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-29793 or the next vulnerability affects your stack