Vulnerability · Published Sep 18, 2026 · Assigned by mongodb
CVE-2026-93759Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist
High 8.6
In plain English
A high-severity code injection in Mongoid from MongoDB Inc.. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities).
Official 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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| MongoDB Inc. | Mongoid | 9.1.09.0.0 – through 9.0.118.1.0 – through 8.1.128.0.0 – through 8.0.12 |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L