CVE-2026-93758: CWE-639: Authorization Bypass Through User-Controlled Key in MongoDB Inc. Mongoid
An insecure direct object reference in the nested attributes handling of the Mongoid object-document mapper may allow a user with basic application privileges to reference a record identifier that is not their own. Processing such a request can cause that record to be looked up without the usual ownership or scoping restrictions, then updated and linked to the requesting user's own record. This may result in unintended disclosure and unauthorized modification of data belonging to other users of the application.
AI Analysis
Technical Summary
This vulnerability arises from insecure direct object references (CWE-639) in Mongoid's nested attributes processing. A user with limited application privileges can supply a record identifier belonging to another user, bypassing ownership and scoping restrictions. Consequently, the application may retrieve and update records not owned by the requester, linking them incorrectly to the attacker's record. This flaw affects Mongoid versions >=8.0.0 <=8.0.12, >=8.1.0 <=8.1.12, >=9.0.0 <=9.0.11, and =9.1.0. The CVSS 4.0 base score is 8.6, indicating a high-severity issue with network attack vector, low attack complexity, no privileges required beyond basic user, and no user interaction needed.
Potential Impact
Exploitation allows unauthorized disclosure and modification of data belonging to other users within the application using Mongoid. Attackers with basic privileges can bypass authorization controls to access and alter records they should not control, potentially compromising data integrity and confidentiality.
Mitigation Recommendations
No explicit patch or remediation details are provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, applications using affected Mongoid versions should consider restricting nested attribute updates or implementing additional server-side authorization checks to prevent unauthorized record access.
CVE-2026-93758: CWE-639: Authorization Bypass Through User-Controlled Key in MongoDB Inc. Mongoid
Description
An insecure direct object reference in the nested attributes handling of the Mongoid object-document mapper may allow a user with basic application privileges to reference a record identifier that is not their own. Processing such a request can cause that record to be looked up without the usual ownership or scoping restrictions, then updated and linked to the requesting user's own record. This may result in unintended disclosure and unauthorized modification of data belonging to other users of the application.
CVSS v4.0
Score 8.6high
Affected software
MongoDB Inc.
Mongoid
pkg:gem/mongoidRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability arises from insecure direct object references (CWE-639) in Mongoid's nested attributes processing. A user with limited application privileges can supply a record identifier belonging to another user, bypassing ownership and scoping restrictions. Consequently, the application may retrieve and update records not owned by the requester, linking them incorrectly to the attacker's record. This flaw affects Mongoid versions >=8.0.0 <=8.0.12, >=8.1.0 <=8.1.12, >=9.0.0 <=9.0.11, and =9.1.0. The CVSS 4.0 base score is 8.6, indicating a high-severity issue with network attack vector, low attack complexity, no privileges required beyond basic user, and no user interaction needed.
Potential Impact
Exploitation allows unauthorized disclosure and modification of data belonging to other users within the application using Mongoid. Attackers with basic privileges can bypass authorization controls to access and alter records they should not control, potentially compromising data integrity and confidentiality.
Mitigation Recommendations
No explicit patch or remediation details are provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, applications using affected Mongoid versions should consider restricting nested attribute updates or implementing additional server-side authorization checks to prevent unauthorized record access.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-09-18T16:51:38.102Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aad721155bf5e2cf54a3765
Added to database: 09/18/2026, 17:17:05 UTC
Last enriched: 09/18/2026, 17:31:35 UTC
Last updated: 09/19/2026, 01:34:19 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.