Skip to main content
VulnerabilityPublished Updated

CVE-2026-93759: MongoDB Mongoid · Code Injection

Affects MongoDB MongoidSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.8 High.

Data as of 2 Nov 2026, 22:58 UTC

CVSS 4.0 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
MongoDB Inc.MongoidAffected
  • >=9.0.0 <=9.0.11
  • >=8.1.0 <=8.1.12
  • >=8.0.0 <=8.0.12
  • =9.1.0
Fixed in–

AI-suggested

Until an official fix is available, avoid passing untrusted string input directly to Mongoid query builders or sanitize inputs to prevent injection of server-side JavaScript expressions.

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.

References

Community reviews

Loading reviews…