Mongoid Unrestricted Query Operator Use Allows Data Exploitation
CVE-2026-93760 Published on September 18, 2026
NoSQL injection of JavaScript-executing query operators via unsafe-by-default operator guard
Mongoid does not restrict which query operators may come from caller-supplied filter data when an application hands that data to its query-building methods. In an application that forwards externally supplied filter parameters in this way, a party with no credentials may influence how the database evaluates the query. This may result in unintended disclosure of stored field values and in reduced database performance.
Vulnerability Analysis
CVE-2026-93760 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.
Weakness Type
Improper Neutralization of Special Elements in Data Query Logic
The application generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.
Affected Versions
MongoDB Inc. Mongoid:- Version 9.1.0 is affected.
- Version 9.0.0, <= 9.0.11 is affected.
- Version 8.1.0, <= 8.1.12 is affected.
- Version 8.0.0, <= 8.0.12 is affected.