GitHub Advisoryadvisory · npm
GHSA-p9xr-7p9p-gpqx Feathers has a NoSQL Injection via WebSocket id Parameter in MongoDB Adapter
CRITICAL
Official page ↗
- Aliases
- CVE-2026-29793
- Ecosystem
- npm
- Packages
- @feathersjs/mongodb
- Severity
- Critical
- CVSS 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
- Weaknesses
- CWE-943
- Reviewed
- 2026-03-10
Affected packages
• npm @feathersjs/mongodb: >= 5.0.0, < 5.0.42 → fixed in 5.0.42
Description
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.
Related
Alias · CVE (1)
- CVE-2026-29793 Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. vulnerability
Weakness · CWE (1)
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic weakness