p PatchFirst

CVE-2026-29793

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.3 · Critical · EPSS 0.5% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • mongodb

    Versions
    • >= 5.0.0, < 5.0.42: Affected

    No fix published

  • @feathersjs/mongodb npm

    Affected ranges
    • SEMVER: ≥ 5.0.0, < 5.0.42

    Update to 5.0.42

Original sources

Check your server →