---
id: CVE-2026-93764
title: >-
  Mongoid may omit encryption rules for fields declared on embedded models when
  generating the client-side field-level encryption schema
summary: >-
  Mongoid may omit encryption rules for fields declared on embedded models when
  generating the client-side field-level encryption schema. Applications that
  enable this feature can therefore store values intended to be encrypted in
  readable…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-312
vendor: mongodb
product: mongoid
affected:
  - 'mongoid >= 9.0.0, < 9.0.12'
  - mongoid = 9.1.0
patched:
  - mongoid 9.0.12
published: '2026-09-18'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T16:00:04.347'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93764'
references:
  - url: 'https://jira.mongodb.org/browse/MONGOID-5989'
    label: cna@mongodb.com
tags:
  - nvd
  - cve.org
epss: 0.0015
epssPercentile: 0.03449
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-21T18:47:34.639417Z'
ingestedAt: '2026-09-18T17:46:41.552Z'
---

## Overview

Mongoid may omit encryption rules for fields declared on embedded models when generating the client-side field-level encryption schema. Applications that enable this feature can therefore store values intended to be encrypted in readable form, with no error or warning. A party with routine read access to the database, a backup, or the underlying data files may then see data that was meant to remain unreadable outside the application.

## Affected

- `mongoid >= 9.0.0, < 9.0.12`
- `mongoid = 9.1.0`

## Remediation

Upgrade past the affected range:

- `mongoid 9.0.12`
