CVE-2026-93759
Severity CVSS v4.0:
HIGH
Type:
CWE-94
Code Injection
Publication date:
18/09/2026
Last modified:
24/09/2026
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.
Impact
Base Score 4.0
8.80
Severity 4.0
HIGH
Base Score 3.x
8.60
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:* | 8.0.0 (including) | 8.0.13 (excluding) |
| cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:* | 8.1.0 (including) | 8.1.13 (excluding) |
| cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:* | 9.0.0 (including) | 9.0.12 (excluding) |
| cpe:2.3:a:mongodb:mongoid:9.1.0:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page


