CVE-2026-93760
8.2MongoDB · Mongoid
Mongoid fails to sanitize caller-supplied filter data, allowing unauthenticated attackers to influence query operations and potentially disclose sensitive database field values.
Executive summary
A high-severity vulnerability in the Mongoid library allows unauthenticated attackers to manipulate query logic, leading to unauthorized data disclosure and performance degradation.
Vulnerability
This vulnerability, classified as CWE-943, occurs because the library fails to properly neutralize special elements within data query logic. An unauthenticated attacker can supply malicious filter parameters to influence database queries, resulting in unauthorized access to stored information.
Business impact
The ability for an unauthenticated party to manipulate database queries poses a significant risk to data confidentiality and system availability. Successful exploitation could lead to the exposure of sensitive stored records, potentially resulting in data breaches, regulatory non-compliance, and loss of consumer trust. Given the CVSS score of 8.2, this vulnerability is considered a high-priority risk that requires immediate attention to prevent unauthorized data access.
Remediation
Immediate Action: Review the official MongoDB security advisory at https://jira.mongodb.org/browse/MONGOID-5994 and apply the necessary version updates as soon as they are released by the vendor.
Proactive Monitoring: Monitor database access logs for unusual query patterns, such as unexpected use of query operators or high volumes of queries originating from external sources.
Compensating Controls: Implement strict input validation and sanitization at the application layer to ensure that only expected filter parameters are passed to Mongoid query-building methods.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Due to the potential for unauthorized data disclosure, organizations using the affected versions of Mongoid must prioritize this vulnerability. Ensure that developers strictly validate all user-supplied input before it reaches the database query layer. Monitor vendor channels closely for the release of patched versions and apply them immediately upon availability to mitigate the risk of exploitation.
More MongoDB CVEs all →
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief high section