CVE-2026-93759 Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist
HighCVSS 8.8
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Mongoid | = 9.1.0; >= 8.0.0, < 8.0.13; >= 8.0.0, <= 8.0.12; >= 8.1.0, < 8.1.13 +3 more | 8.0.13, 8.1.13, 9.0.12 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Mongoid | = 9.1.0 | No fix listed |
| MongoDB Mongoid | >= 9.0.0, <= 9.0.11 | No fix listed |
| MongoDB Mongoid | >= 8.1.0, <= 8.1.12 | No fix listed |
| MongoDB Mongoid | >= 8.0.0, <= 8.0.12 | No fix listed |
| MongoDB Mongoid | >= 8.0.0, < 8.0.13 | 8.0.13 |
| MongoDB Mongoid | >= 8.1.0, < 8.1.13 | 8.1.13 |
| MongoDB Mongoid | >= 9.0.0, < 9.0.12 | 9.0.12 |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2538367 issue-tracking
- www.cve.org
- nvd.nist.gov
- jira.mongodb.org permissions-required
- ENISA EUVD EUVD-2026-83214 third-party-advisory