Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-135135 EUVD-2026-135623GHSA-jr9r-7gmf-6g53

Cleartext storage of encrypted embedded fields that use store_as in Mongoid

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

Description

Mongoid builds an incomplete automatic encryption schema for certain embedded document associations. As a result, values that the application declared as encrypted may be written to the database in cleartext, with no error or warning returned to the application. A party holding only basic read privileges on the affected collection, and no access to the encryption keys, may then obtain those values in readable form.

Affected products

VendorProductAffectedFixed
MongoDB Ruby Driver 9.0.0 – < 9.1.3 9.1.3

References