CVE-2026-29793

NoSQL Injection via WebSocket id Parameter in MongoDB Adapter

Published Mar 10, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-p9xr-7p9p-gpqx Feathers has a NoSQL Injection via WebSocket id Parameter in MongoDB Adapter
History
Type Values Removed Values Added
First Time appeared Feathersjs feathers
CPEs cpe:2.3:a:feathersjs:feathers:*:*:*:*:*:node.js:*:*
Vendors & Products Feathersjs feathers
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Feathersjs
Feathersjs mongodb
Vendors & Products Feathersjs
Feathersjs mongodb
Type Values Removed Values Added
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.
Title NoSQL Injection via WebSocket id Parameter in MongoDB Adapter
Weaknesses CWE-943
References
Metrics cvssV4_0

{'score': 9.3, '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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 11, 2026, 2:09 PM
Reserved
Mar 4, 2026, 4:26 PM
Status
Analyzed
Published
Mar 10, 2026, 8:16 PM
Modified
Jun 17, 2026, 10:29 AM