CVE-2026-93759CWE-94code-injection

CVE-2026-93759

High · published September 18, 2026

CVSS v3.1
8.6
EPSS
0%
Percentile
36.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
CVSS v4.0
8.8 · 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
EPSS
0.00434 · 36.6th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-09-18T22:18Z
Affected products (4)
ProductVersionsFixed in
mongodb/mongoid≥ 8.0.0, < 8.0.138.0.13
mongodb/mongoid≥ 8.1.0, < 8.1.138.1.13
mongodb/mongoid≥ 9.0.0, < 9.0.129.0.12
mongodb/mongoidall versions—
References (1)
EPSS history
Timeline
  • 20 SEP 03:25Z
    EPSS moved — → 0%
    epss
  • 18 SEP 17:27Z
    Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist
    cvelistv5