Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify endpoint passing user field name to Mongoid
-
DeliveryCraft malicious field-name parameter
-
ExploitTrigger unsafe reflection in embedded query path
-
ExecutionDisclose stored document data
-
ImpactInvoke method permanently removing records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V15 - Secure Coding and Architecture Reflection safety, class allowlisting
|
| Exploitation Conditions | Requires an application built on Mongoid that passes an externally/user-supplied field name into the affected in-memory query methods for embedded documents - this untrusted-input-to-field-name data flow is the explicit prerequisite (reflected as AT:P in the CVSS 4.0 vector). Where the application hardcodes or allow-lists field names, the vulnerable path is not reached. No authentication is required (PR:N) and no user interaction (UI:N), so once such an endpoint exists it is reachable by a remote unauthenticated attacker. Limiting factors: the flaw is developer/config-dependent rather than exploitable against a default Mongoid install, and the specific affected and fixed versions are not confirmed in the available data (CPE is unbounded). |
| Impact | The vendor CVSS 4.0 base score of 9.2 (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H) rates this Critical, driven by an unauthenticated network vector and high impact across confidentiality, integrity, and availability (data disclosure plus permanent record removal). The single most important qualifier is AT:P (Attack Requirement: Present): exploitation is not against a stock Mongoid install but only where the downstream application forwards an externally supplied field name into the affected in-memory embedded-document query methods (CWE-470 unsafe reflection). That developer-dependent condition materially lowers real-world reach versus what the 9.2 headline implies - reflected in a CVSS 3.1 equivalent nearer 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), where AT:P maps to AC:H. No EPSS score, no CISA KEV listing, and no public exploit are present in the provided data, so there is no evidence of active or automated exploitation - status is no public exploit identified at time of analysis. Net: a genuinely serious library flaw for applications matching the vulnerable pattern, but not a mass-exploitable default-config internet threat; prioritize where an app is known to route untrusted input into Mongoid field-name parameters. Note the intelligence set is thin - the only reference is a MongoDB Jira ticket (MONGOID-5973) with no advisory body, fixed version, or patch commit, so the exact affected/fixed versions are unconfirmed. |
| Exploit ScenarioDerived | An application exposes a search or filter endpoint that accepts a user-supplied field name and passes it into a Mongoid in-memory query method over embedded documents. An unauthenticated attacker submits a crafted field-name parameter that abuses the unsafe reflection to read document data they should not see, and to invoke a method that permanently deletes stored records. No public exploit code is identified at time of analysis; exploitation depends on the application forwarding untrusted input to the affected methods. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 18, 2026
Data disclosure and permanent record deletion in Mongoid can be triggered by an unauthenticated remote attacker when an application passes an externally supplied field name to certain in-memory query methods for embedded documents, exploiting an unsafe reflection weakness (CWE-470). The vendor CVSS 4.0 base score of 9.2 reflects the network vector and high impact across confidentiality, integrity, and availability, though the attack requires a developer-dependent data flow (AT:P) where untrusted input reaches a field name parameter. No public exploit code or active exploitation has been identified at time of analysis, and affected/fixed versions remain unconfirmed due to an unbounded CPE (mongoid:*).
RemediationAI
No vendor-released patch has been identified in the available data; monitor the MongoDB Jira issue MONGOID-5973 for a fix. As compensating controls, ensure that field names passed to Mongoid query methods are never derived from unvalidated user input-use strict allow-listing or mapping of permitted field names, or sanitize input to reject unexpected values. Where possible, avoid exposing endpoints that construct queries with user-controlled field names; if such endpoints are necessary, enforce additional input validation and consider restricting the query capabilities. Note that authentication-based access controls are not a mitigation because the vulnerability is unauthenticated (PR:N). Once a patched version is released, upgrade Mongoid to that version; verify the fix by testing that user-supplied field names cannot reach the vulnerable query methods. There is no evidence of active exploitation, so prioritization should focus on identifying affected code paths and applying the above controls.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mongoid is a MongoDB Object-Document Mapper (ODM) for Ruby applications that provides an ActiveRecord-like interface for MongoDB. The vulnerability arises from CWE-470 (Use of Externally-Controlled Input to Select Classes or Code, or 'Unsafe Reflection') in the query path for embedded documents: in-memory query methods (such as those used for filtering or accessing embedded associations) dynamically resolve field names, and when an application passes a user-controlled string as a field name, an attacker can manipulate the query to access or delete unintended data. The CPE cpe:2.3:a:mongodb_inc.:mongoid:*:*:*:*:*:*:*:* indicates all versions are potentially affected, as no version range is specified. The vendor Jira issue MONGOID-5973 likely tracks the fix; however, the exact affected and fixed versions are not confirmed in the available data. Our independent assessment rates this as CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, reflecting that the attack is unauthenticated and network-reachable but requires a specific application-level data flow (high attack complexity) where untrusted input is used as a field name.
Know when Mongoid gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network unauthenticated (AV:N/PR:N); AC:H because exploitation is gated on the app forwarding untrusted field names (AT:P equivalent); C:H disclosure, I:H/A:H from permanent record removal.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
DescriptionCVE.org
Mongoid contains an unsafe reflection weakness in the query path used for embedded documents. An application that passes an externally supplied field name to certain in-memory query methods may allow an unauthenticated party to obtain unintended disclosure of stored document data and to permanently remove stored records.
Executive ViewAI
Mongoid, a Ruby ODM for MongoDB, is affected by a critical vulnerability (CVE-2026-93762, CVSS 9.2) that could allow remote data disclosure and permanent deletion of embedded document records. Exploitation requires an application to pass externally controlled field names to certain in-memory query methods, but the potential impact across confidentiality, integrity, and availability is high. With no vendor-released patch identified at time of analysis and no public exploit identified at time of analysis, leadership should prioritize immediate mitigation and monitoring.
No vendor-released patch identified at time of analysis. Interim mitigations include: enforce strict allowlist validation of field names; never pass externally supplied field names to in-memory query methods for embedded documents; apply input sanitization; restrict network access to MongoDB; monitor for anomalous data access and deletion; and consider using alternative query construction with static field names.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Code injection in Mongoid allows unauthenticated attackers who can influence a query argument to execute arbitrary JavaS
CPU exhaustion in MongoDB's Mongoid Ruby ODM allows an unauthenticated remote party to render an embedding application u
Insecure direct object reference in Mongoid's nested-attributes handling lets an authenticated user with basic applicati
Unsafe reflection (CWE-470) in Mongoid's document persistence layer allows a crafted key to be reflected into an interna
Unauthenticated, remote query-operator injection in Mongoid - the official MongoDB object-document mapper for Ruby - all
Silent, warning-free failure of encryption-configuration generation in the Mongoid object-document mapper causes fields
Mongoid can silently persist values in readable form that applications intended to encrypt, because its client-side fiel
Mongoid's automatic client-side encryption can silently store values that an application declared for encryption as clea
EUVD-2026-83203
GHSA-36hj-r7fq-q38m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB