CVE-2026-29793 NoSQL Injection via WebSocket id Parameter in MongoDB Adapter
Attackers can inject NoSQL operators via WebSocket id parameters to bypass filters and access or modify arbitrary database records.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-29793?
CVE-2026-29793 is a critical SQL injection vulnerability in @feathersjs mongodb, published on 10 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-943
Which versions are affected by CVE-2026-29793?
2 open source packages ship an affected version, including @feathersjs/mongodb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@feathersjs/mongodb npm | From 5.0.0 | 5.0.42 |
@feathersjs/mongodb npm | From 5.0.0 | 5.0.42 |
Products include Feathersjs Feathers.
How do I fix CVE-2026-29793?
Upgrade @feathersjs/mongodb to 5.0.42 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-29793 being exploited?
There is no known exploitation of CVE-2026-29793 in the wild and no public exploit code.
Other vulnerabilities in @feathersjs mongodb
- CVE-2026-29792 Feathersjs has an OAuth Callback Account Takeover
- CVE-2026-27193 Feathers exposes internal headers via unencrypted session cookie
- CVE-2026-27192 Feathers has an origin validation bypass via prefix matching
- CVE-2023-37899 feathersjs socket handler allows abusing implicit toString
- CVE-2026-27191 Feathers: Open Redirect in OAuth callback enables account takeover
Sources
Also known as GHSA-p9xr-7p9p-gpqx.