---
id: CVE-2026-93758
title: >-
  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
summary: >-
  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 requ…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-639
vendor: mongodb
product: mongoid
affected:
  - 'mongoid >= 8.0.0, < 8.0.12'
  - 'mongoid >= 8.1.0, < 8.1.13'
  - 'mongoid >= 9.0.0, < 9.0.12'
  - mongoid = 9.1.0
patched:
  - mongoid 9.0.12
published: '2026-09-18'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T14:12:35.223'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93758'
references:
  - url: 'https://jira.mongodb.org/browse/MONGOID-5992'
    label: cna@mongodb.com
tags:
  - nvd
  - cve.org
epss: 0.00356
epssPercentile: 0.26637
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-21T18:46:44.826486Z'
ingestedAt: '2026-09-18T17:46:41.526Z'
---

## Overview

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.

## Affected

- `mongoid >= 8.0.0, < 8.0.12`
- `mongoid >= 8.1.0, < 8.1.13`
- `mongoid >= 9.0.0, < 9.0.12`
- `mongoid = 9.1.0`

## Remediation

Upgrade past the affected range:

- `mongoid 9.0.12`
