Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-135140 EUVD-2026-135619GHSA-qwcj-f6jg-p4gj

Cleartext storage of encrypted foreign key fields in Mongoid

Published Nov 25, 2026 · Updated Nov 25, 2026 · Assigned by mongodb

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.

Affected products

VendorProductAffectedFixed
MongoDB Ruby Driver 9.0.0 – < 9.1.3 9.1.3

Advisories 1

References