NoSQL Injection Affecting @feathersjs/mongodb package, versions >=5.0.0 <5.0.42


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.46% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NoSQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-FEATHERSJSMONGODB-15456216
  • published11 Mar 2026
  • disclosed10 Mar 2026
  • creditsofianeelhor

Introduced: 10 Mar 2026

CVE-2026-29793  (opens in a new tab)
CWE-943  (opens in a new tab)

How to fix?

Upgrade @feathersjs/mongodb to version 5.0.42 or higher.

Overview

@feathersjs/mongodb is a Feathers MongoDB service adapter

Affected versions of this package are vulnerable to NoSQL Injection via the id parameter in WebSocket requests, passed through getObjectId(), which fails to perform type checking. An attacker can inject database queries by sending arbitrary JavaScript objects.

References

CVSS Base Scores

version 4.0
version 3.1