# CVE-2026-93759: Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist

- Severity: High 8.8 (CVSS:4.0, scored by mongodb) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-09-18T17:27:51.644Z
- Modified: 2026-09-24T16:19:37.887Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- MongoDB Inc. Mongoid: 9.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.12
- mongodb mongoid: from 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.0

## Every score

- mongodb: CVSS:4.0 8.8 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N`
- mongodb: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`

## References

- <https://jira.mongodb.org/browse/MONGOID-5993> (permissions-required)

## Sources

- CVE List: [CVE-2026-93759](https://www.cve.org/CVERecord?id=CVE-2026-93759), CVE Terms of Use, modified 2026-09-21
- NVD: [CVE-2026-93759](https://nvd.nist.gov/vuln/detail/CVE-2026-93759), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-93759 · Whole record: https://cve.day/CVE-2026-93759.json · Rebuilt by cve.day 2026-11-25T22:59:39.655Z
