Vulnerability · Published Mar 10, 2026 · Assigned by GitHub_M
CVE-2026-29793NoSQL Injection via WebSocket id Parameter in MongoDB Adapter
Critical 9.3
In plain English
A critical-severity security flaw in mongodb from @feathersjs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @feathersjs/mongodb | 5.0.42 | GHSA-p9xr-7p9p-gpqx |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| @feathersjs | mongodb | >= 5.0.0, < 5.0.42 |
Weakness: CWE-943 · 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
References
- https://github.com/feathersjs/feathers/security/advisories/GHSA-p9xr-7p9p-gpqx x_refsource_CONFIRM