CVE-2026-93759

HIGH CVSS 4.0: 8.8 EPSS 0.40%
Updated Sep 24, 2026
MongoDB
Parameter Value
CVSS 8.8 (HIGH)
Affected Versions 8.0.0 — 9.0.12
Fixed In 8.0.13
Type CWE-94 (Code Injection)
Vendor MongoDB
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
Low
Partial data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 4

Configuration From (including) Up to (excluding)
Mongodb Mongoid
cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:*
8.0.0 8.0.13
Mongodb Mongoid
cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:*
8.1.0 8.1.13
Mongodb Mongoid
cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:*
9.0.0 9.0.12
Mongodb Mongoid
cpe:2.3:a:mongodb:mongoid:9.1.0:*:*:*:*:*:*:*
— —