{"id":"CVE-2026-29793","published":"2026-03-10T20:08:52Z","modified":"2026-03-11T14:09:19Z","title":"NoSQL Injection via WebSocket id Parameter in MongoDB Adapter","vendor":"@feathersjs","product":"mongodb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00508,"percentile":0.443,"provenance":"source"},"cwes":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic"}],"references":[{"url":"https://github.com/feathersjs/feathers/security/advisories/GHSA-p9xr-7p9p-gpqx","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":8.86},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"feathersjs","affectedVersions":[{"vendor":"@feathersjs","product":"mongodb","versions":[">= 5.0.0, < 5.0.42"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-11T14:09:12.628285Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@feathersjs/mongodb","vulnerableRanges":[">=5.0.0, <5.0.42"],"patched":["5.0.42"],"from":["GHSA-p9xr-7p9p-gpqx"],"provenance":"source"}],"summary":{"text":"The flaw is a NoSQL injection in the MongoDB adapter of @feathersjs/mongodb (Feathers.js framework), where the id argument to service methods such as get, patch, update and remove is passed unchecked into MongoDB queries. An unauthenticated remote attacker who can reach the Socket.IO transport can send a crafted object such as {$ne: null} as the id, which MongoDB interprets as query operators and matches every document in the collection, affecting versions from 5.0.0 before 5.0.42.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:28Z"},"euvd":{"id":"EUVD-2026-10827","exploited":false,"provenance":"source"}}