@feathersjs/mongodb
Affected
- introduced
5.0.0, fixed5.0.42(semver)
Fixed versions
5.0.42
Fix
- Fixed version
5.0.42npm install @feathersjs/[email protected]
Advisory
Also known as: CVE-2026-29793
Feathers has a NoSQL Injection via WebSocket id Parameter in MongoDB Adapter
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.
Critical Basis: The source's own band: CRITICAL
5.0.0, fixed 5.0.42 (semver)5.0.42
5.0.42npm install @feathersjs/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0