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

Critical 9.3 Published Updated

Attackers can inject NoSQL operators via WebSocket id parameters to bypass filters and access or modify arbitrary database records.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-29793?

CVE-2026-29793 is a critical SQL injection vulnerability in @feathersjs mongodb, published on 10 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-943

Which versions are affected by CVE-2026-29793?

2 open source packages ship an affected version, including @feathersjs/mongodb. It affects 1 product.

PackageAffectedFixed in
@feathersjs/mongodb npmFrom 5.0.05.0.42
@feathersjs/mongodb npmFrom 5.0.05.0.42

Products include Feathersjs Feathers.

How do I fix CVE-2026-29793?

Upgrade @feathersjs/mongodb to 5.0.42 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-29793 being exploited?

There is no known exploitation of CVE-2026-29793 in the wild and no public exploit code.

Sources

Also known as GHSA-p9xr-7p9p-gpqx.

Is CVE-2026-29793 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free