CVE-2026-93759MongoDB Inc. Mongoid Code Injection
NVD
Vulnerability Summary
Mongoid does not neutralize a string-typed query criterion supplied to its query builder, and instead passes it to the database as a server-side JavaScript expression. An unauthenticated party able to influence the value an application supplies as a query argument may cause code of their choosing to be evaluated by the database engine. This may result in unintended disclosure of stored field values, unintended selection of documents for application-initiated writes, and reduced database performance.
CVSS v4.0 Base Metrics — Score 8.8 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)Low
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 8.6)
CVSS v3.1 Base Metrics — Score 8.6 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:LAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityLow
AvailabilityLow
Affected & Patched Versions
- MongoDB Inc. Mongoid 9.1.0
- MongoDB Inc. Mongoid >= 9.0.0 and <= 9.0.11
- MongoDB Inc. Mongoid >= 8.1.0 and <= 8.1.12
- MongoDB Inc. Mongoid >= 8.0.0 and <= 8.0.12
- MongoDB Inc. Mongoid 9.0.11
- MongoDB Inc. Mongoid 8.1.12
- MongoDB Inc. Mongoid 8.0.12
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run MongoDB Inc. Mongoid and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Sep 18, 2026Published
- Sep 21, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new MongoDB Inc. Mongoid CVEsYou are reading CVE-2026-93759. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Issue Trackinghttps://jira.mongodb.org/browse/MONGOID-5993
Data last checked: Nov 21, 2026 02:16 UTC