Skip to main content

CVE-2026-93758: CWE-639: Authorization Bypass Through User-Controlled Key in MongoDB Inc. Mongoid

0
High
Published: 09/18/2026 (09/18/2026, 18:31:43 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB Inc.
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

MongoDB Inc.

Mongoid

Affected versions
>=9.0.0 <=9.0.11>=8.1.0 <=8.1.12>=8.0.0 <=8.0.12=9.1.0
mongoid
pkg:gem/mongoid
Affected versions
>=8.0.0 <=8.0.12>=8.1.0 <=8.1.12>=9.0.0 <=9.0.11=9.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/18/2026, 17:31:35 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses