CVE-2026-135135
Cleartext storage of encrypted embedded fields that use store_as in Mongoid
High · 7.1Fix available
- CVSS
- 7.1
- EPSS
- 0.21% (p6)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-25
- Product
- MongoDB Ruby Driver
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
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.
Fixed in
9.1.3
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Ruby Driver | >=9.0.0, <9.1.3 | 9.1.3 |