CVE-2026-93759
8.8high
Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist
- Severity
- 8.8high CVSS:4.0 by mongodb
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Inc. Mongoid | 9.1.0, from 9.0.0 up to 9.0.11, from 8.1.0 up to 8.1.12, from 8.0.0 up to 8.0.12 | CVE List |
| mongodb mongoid | from 8.0.0 before 8.0.13, from 8.1.0 before 8.1.13, from 9.0.0 before 9.0.12, 9.1.0 | NVD |
All scores
| mongodb | 8.8high 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 |
| mongodb | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
| https://jira.mongodb.org/browse/MONGOID-5993 | permissions-required | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-93759 changed 2026-09-21 | CVE Terms of Use |
| NVD | CVE-2026-93759 changed 2026-09-24 | Public domain |