CVE-2026-42334
1 advisory.
npm/mongoose CVE-2026-42334: high 7.5
Mongoose's Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL Injection
Action: Upgrade mongoose to 6.13.9 or later.
npm i mongoose@6.13.9npm i mongoose@7.8.9npm i mongoose@8.22.1npm i mongoose@9.1.6Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 6.13.9 | - |
| 7.0.0 | 7.8.9 | - |
| 8.0.0 | 8.22.1 | - |
| 9.0.0 | 9.1.6 | - |
Fixed versions
| 6.13.9 | 7.8.9 | 8.22.1 | 9.1.6 |
Sources
- osv: GHSA-wpg9-53fq-2r8h
- https://github.com/Automattic/mongoose/security/advisories/GHSA-wpg9-53fq-2r8h
- https://nvd.nist.gov/vuln/detail/CVE-2026-42334
- https://github.com/Automattic/mongoose
- https://mongoosejs.com/docs/api/mongoose.html#Mongoose.prototype.sanitizeFilter()
- https://thecodebarbarian.com/whats-new-in-mongoose-6-sanitizefilter.html
CVE-2026-42334 · published · modified · JSON