~ / search / GHSA-p9xr-7p9p-gpqx

GHSA-p9xr-7p9p-gpqx

Feathers has a NoSQL Injection via WebSocket id Parameter in MongoDB Adapter

Source: GitHub Advisory Database (reviewed) Critical CVE-2026-29793

Packages

EcosystemPackageAffectedFixed in
npm @feathersjs/mongodb >= 5.0.0, < 5.0.42 5.0.42

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.