Mongoid may omit a field from the client-side encryption settings it generates for a collection when that same field is also used as a reference to another record. The value is then stored in readable form instead of encrypted, and the application receives no indication that this has happened. A party with ordinary authenticated read access to the affected collection may be able to view data that was intended to be protected.

Project Subscriptions

Vendors Products
Mongodb Subscribe
Ruby Driver Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 26 Nov 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 26 Nov 2026 01:15:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb ruby Driver
Vendors & Products Mongodb
Mongodb ruby Driver

Wed, 25 Nov 2026 22:00:00 +0000

Type Values Removed Values Added
Description Mongoid may omit a field from the client-side encryption settings it generates for a collection when that same field is also used as a reference to another record. The value is then stored in readable form instead of encrypted, and the application receives no indication that this has happened. A party with ordinary authenticated read access to the affected collection may be able to view data that was intended to be protected.
Title Cleartext storage of encrypted foreign key fields in Mongoid
Weaknesses CWE-312
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-11-25T19:13:54.142Z

Reserved: 2026-11-23T14:11:16.724Z

Link: CVE-2026-135140

cve-icon Vulnrichment

Updated: 2026-11-25T19:13:48.719Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-25T18:18:50.290

Modified: 2026-11-25T20:18:37.023

Link: CVE-2026-135140

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-26T01:00:04Z

Weaknesses