MongoDBCVE-2026-93759
MongoDB Mongoid: code injection
High8.8CVE-2026-93759 · Published Sep 18, 2026 · updated Sep 24, 2026
Mongoid does not neutralize a string-typed query criterion supplied to its query builder, and instead passes it to the database as a server-side JavaScript expression. An unauthenticated party able to influence the value an application supplies as a query argument may cause code of their choosing to be evaluated by the database engine. This may result in unintended disclosure of stored field values, unintended selection of documents for application-initiated writes, and reduced database performance.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Mongoid Product | <= 9.1.0 | No fix yet |
| >= 9.0.0, <= 9.0.11 | No fix yet | |
| >= 8.1.0, <= 8.1.12 | No fix yet | |
| >= 8.0.0, <= 8.0.12 | No fix yet |
Details and references
- CVSS 4.0
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-94
More MongoDB advisories
All MongoDB| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Sep 18 | MongoDB Mongoid: unsafe reflection | Critical9.2 | No fix yet |
| Sep 18 | MongoDB Mongoid: information disclosure | High7.1 | No fix yet |
| Sep 18 | MongoDB Mongoid: cleartext storage | High7.1 | No fix yet |
| Sep 18 | Mongoid does not restrict | High8.3 | No fix yet |
| Sep 18 | MongoDB Mongoid: regular expression denial of service | High8.7 | No fix yet |
| Sep 18 | MongoDB Mongoid: insecure direct object reference | High8.6 | No fix yet |