CVE-2026-93759: Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist
Vulnerability summary
CVE-2026-93759 is a high (CVSS 8.8) Improper Control of Generation of Code vulnerability in mongodb inc. mongoid. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23% of scored vulnerabilities.
Severe, CVSS 8.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 18-09-2026PublishedVulnerability first disclosed.
- 21-09-2026Last modifiedVulnerability information updated.
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 metrics
4 scores · 2 sources · 2 versions- NVDNIST8.8HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
Decrease -0.14 pp
From 0.43% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Mongodb1 product
- mongoid≥ 8.0.0, < 8.0.13 | ≥ 8.1.0, < 8.1.13 | ≥ 9.0.0, < 9.0.12 | 9.1.0
Mongodb inc.1 product
- mongoid9.1.0 | ≥ 9.0.0, ≤ 9.0.11 | ≥ 8.1.0, ≤ 8.1.12 | ≥ 8.0.0, ≤ 8.0.12
2 vendors · 2 products
References
1 links- jira.mongodb.org/browse/MONGOID-5993Permissions Required