Skip to content

CVE-2026-29793 NoSQL Injection via WebSocket id Parameter in MongoDB Adapter

CriticalCVSS 9.3 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
feathersjs feathers >= 5.0.0, < 5.0.42 5.0.42 Fixed
feathersjs mongodb(npm) >= 5.0.0, < 5.0.42; >= 5.0.0, <= 5.0.41 5.0.42 Fixed
feathersjs mongodb = >= 5.0.0, < 5.0.42 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
feathersjs mongodb = >= 5.0.0, < 5.0.42 No fix listed
feathersjs mongodb(npm) >= 5.0.0, <= 5.0.41 No fix listed
feathersjs feathers >= 5.0.0, < 5.0.42 5.0.42
feathersjs mongodb(npm) >= 5.0.0, < 5.0.42 5.0.42

References