A flaw in the automatic client-side encryption schema generation of the Mongoid ODM may cause values that an application declared for encryption to be written and stored as cleartext when more than one model is mapped onto the same storage location. No error or warning is raised. A party holding an ordinary read-only database account, with no access to the encryption key material, may then obtain those values in clear form.

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

Tue, 17 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'}


Fri, 13 Nov 2026 21:30:00 +0000

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

Fri, 13 Nov 2026 15:45:00 +0000

Type Values Removed Values Added
Description A flaw in the automatic client-side encryption schema generation of the Mongoid ODM may cause values that an application declared for encryption to be written and stored as cleartext when more than one model is mapped onto the same storage location. No error or warning is raised. A party holding an ordinary read-only database account, with no access to the encryption key material, may then obtain those values in clear form.
Title Mongoid stores encrypted fields in plaintext when two models share a collection
Weaknesses CWE-312
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/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-16T23:30:59.603Z

Reserved: 2026-11-11T20:06:23.925Z

Link: CVE-2026-126817

cve-icon Vulnrichment

Updated: 2026-11-16T23:27:52.937Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-13T16:18:46.317

Modified: 2026-11-17T00:17:26.070

Link: CVE-2026-126817

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-14T16:00:08Z

Weaknesses