High severity · published Sep 18, 2026
CVE-2026-93759
Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist
8.6
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MO
Mongoid · MongoDB Inc.
9.1.0; 9.0.0 through 9.0.11; 8.1.0 through 8.1.12; 8.0.0 through 8.0.12 · source: vendor, NVD
Affected product
MO
Mongoid
MongoDB Inc.
More from Mongoid
9.8
CVE-2026-93762
Data deletion and attribute disclosure via field-name method injection in in-memory queries
9.1
CVE-2026-93765
Document deletion and process crash via unvalidated method-name dispatch in atomic pop operation
8.2
CVE-2026-93760
NoSQL injection of JavaScript-executing query operators via unsafe-by-default operator guard
8.1
CVE-2026-93758
Cross-principal document update, theft, and deletion via unvalidated id in nested attributes
7.5
CVE-2026-93761
Denial of service via unbounded regex matching in Mongoid's in-memory query matcher