Skip to main content
VulnerabilityPublished

CVE-2026-29793: @feathersjs mongodb · Improper Neutralization of Special Elements in Data Query Logic

Affects @feathersjs mongodbSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.3 Critical : upgrade to 5.0.42 as a priority.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 4.0 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.42
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade mongodb and @feathersjs/mongodb to 5.0.42.

Affected software

ProductAffectedFixed in
@feathersjsmongodbAffected
  • >=5.0.0 <5.0.42
Fixed in
  • 5.0.42
npm@feathersjs/mongodbpkg:npm/@feathersjs/mongodbOther threatsAffected
  • <5.0.42 >=5.0.0
Fixed in
  • 5.0.42

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate this vulnerability, organizations should immediately upgrade the @feathersjs framework to version 5.0.42 or later, where the issue is fixed. If upgrading is not immediately feasible, implement strict input validation and sanitization on the id parameter at the application layer to reject any non-string or non-ObjectId inputs, especially those containing MongoDB operators. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious query patterns such as {$ne: null} in requests. Restrict network access to the affected services to trusted clients only and monitor logs for anomalous queries or unexpected mass data access patterns. Conduct thorough code reviews and penetration testing focusing on injection flaws in data query logic. Finally, maintain an inventory of all applications using Feathersjs with MongoDB to ensure no vulnerable instances remain in production or development environments.

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.

References

Community reviews

Loading reviews…