Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @feathersjs/mongodb
  4. ›
  5. CVE-2026-29793

CVE-2026-29793: Feathers has a NoSQL Injection via WebSocket id Parameter in MongoDB Adapter

March 10, 2026

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.

References

  • github.com/advisories/GHSA-p9xr-7p9p-gpqx
  • github.com/feathersjs/feathers
  • github.com/feathersjs/feathers/security/advisories/GHSA-p9xr-7p9p-gpqx
  • nvd.nist.gov/vuln/detail/CVE-2026-29793

Code Behaviors & Features

Detect and mitigate CVE-2026-29793 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.0.0 before 5.0.42

Fixed versions

  • 5.0.42

Solution

Upgrade to version 5.0.42 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-943: Improper Neutralization of Special Elements in Data Query Logic

Source file

npm/@feathersjs/mongodb/CVE-2026-29793.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:17:54 +0000.