CVE-2026-93762: Mongoid unsafe reflection weakness in query path for embedded documents

CVE-2026-93762 · Severity: critical · CVSS 9.8 · Published 2026-09-18

Mongoid, a popular MongoDB object-relational mapper, contains a flaw that allows attackers to pass malicious field names to in-memory query methods. Without authentication, an attacker can read sensitive data from stored documents or permanently delete records by exploiting unsafe reflection in how Mongoid constructs queries for nested objects.

Technologies: MongoDB Mongoid. Vendors: MongoDB.

Quick answers

Is CVE-2026-93762 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-93762 being exploited in the wild.
How severe is CVE-2026-93762?
Critical severity, with a CVSS score of 9.8, published 18 September 2026.
Which products and versions are affected?
MongoDB Mongoid.
Is there a fix for CVE-2026-93762?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-93762 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-93762?
Check whether you run MongoDB Mongoid. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability exists in Mongoid's handling of externally-supplied field names used in query path construction for embedded documents. The flaw stems from unsafe reflection that does not properly validate or sanitize field names before using them in in-memory query operations. An unauthenticated attacker can exploit this to exfiltrate stored document data or trigger destructive deletions of database records.

Affected products

  • MongoDB Mongoid

Timeline

  • 2026-09-18: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.