Advisory

GHSA-p9xr-7p9p-gpqx

Also known as: CVE-2026-29793

Summary

Feathers has a NoSQL Injection via WebSocket id Parameter in MongoDB Adapter

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-03-10 21:03 UTC
Modified
2026-03-13 04:22 UTC

Affected packages and fixes

@feathersjs/mongodb

npm · All systems

Affected

  • introduced 5.0.0, fixed 5.0.42 (semver)

Fixed versions

5.0.42

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences