Critical severityNVD Advisory· Published Mar 10, 2026· Updated Mar 11, 2026
NoSQL Injection via WebSocket id Parameter in MongoDB Adapter
CVE-2026-29793
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@feathersjs/mongodbnpm | >= 5.0.0, < 5.0.42 | 5.0.42 |
Affected products
2- @feathersjs/mongodbv5Range: >= 5.0.0, < 5.0.42
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-p9xr-7p9p-gpqxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-29793ghsaADVISORY
- github.com/feathersjs/feathers/security/advisories/GHSA-p9xr-7p9p-gpqxghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.