# CVE-2026-93760: Mongoid query operator injection via unsanitized filter parameters

Source: https://junglewise.ai/threats/cve-2026-93760-mongoid-does-not-restrict-which-query-operators-may-come-from  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-18. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-93760 · Severity: high · CVSS 8.2 · Published 2026-09-18

Mongoid, a popular MongoDB object mapper, fails to restrict MongoDB query operators when applications pass user-supplied filter parameters directly to query-building methods. An unauthenticated attacker can inject operators to bypass intended query logic, potentially exposing sensitive database fields or degrading query performance. This vulnerability affects any application that forwards external filter data without sanitization.

Technologies: [MongoDB Mongoid](https://junglewise.ai/threats/technologies/mongoid). Vendors: [MongoDB](https://junglewise.ai/threats/vendors/mongodb).

## Quick answers

**Is CVE-2026-93760 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-93760 being exploited in the wild.

**How severe is CVE-2026-93760?** High severity, with a CVSS score of 8.2, published 18 September 2026.

**Which products and versions are affected?** MongoDB Mongoid.

**Is there a fix for CVE-2026-93760?** 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-93760 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-93760?** 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 is a query operator injection flaw in Mongoid's query-building methods that do not properly sanitize or validate operator keys from caller-supplied filter data. An attacker can craft filter parameters containing MongoDB operators (e.g., $ne, $regex, $where) to alter query semantics. No authentication is required; the attack vector is application-level filter parameters, and the impact includes information disclosure and potential denial of service through resource-intensive queries.

## Affected products

- MongoDB Mongoid

## Timeline

- 2026-09-18: disclosed

## References

- [https://jira.mongodb.org/browse/MONGOID-5994](https://jira.mongodb.org/browse/MONGOID-5994)

## Related threats

- [Mongoid client-side encryption omission in embedded models](https://junglewise.ai/threats/cve-2026-93764-mongoid-may-omit-encryption-rules-for-fields-declared-on-embedded)
- [Mongoid unsafe reflection weakness in query path for embedded documents](https://junglewise.ai/threats/cve-2026-93762-mongoid-contains-an-unsafe-reflection-weakness-in-the-query-path)
- [Mongoid inefficient regex complexity in query evaluation](https://junglewise.ai/threats/cve-2026-93761-an-inefficient-regular-expression-complexity-issue-in-the-in)
- [Mongoid query builder NoSQL injection via string criteria](https://junglewise.ai/threats/cve-2026-93759-mongoid-does-not-neutralize-a-string-typed-query-criterion)
- [Mongoid unsafe reflection in document persistence layer](https://junglewise.ai/threats/cve-2026-93765-mongoid-contains-an-unsafe-reflection-weakness-in-the-document)
