CVE-2026-93759
JSON

8.8high

Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist

Severity
8.8high CVSS:4.0 by mongodb
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mongodb

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.

Affected

Product or packageVersionsReported by
MongoDB Inc. Mongoid9.1.0, from 9.0.0 up to 9.0.11, from 8.1.0 up to 8.1.12, from 8.0.0 up to 8.0.12CVE List
mongodb mongoidfrom 8.0.0 before 8.0.13, from 8.1.0 before 8.1.13, from 9.0.0 before 9.0.12, 9.1.0NVD

All scores

mongodb8.8high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
mongodb8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-93759 changed 2026-09-21CVE Terms of Use
NVDCVE-2026-93759 changed 2026-09-24Public domain