Skip to content

CVE-2026-135135 Cleartext storage of encrypted embedded fields that use store_as in Mongoid

HighCVSS 7.1 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
MongoDB Ruby Driver >= 9.0.0, < 9.1.3 9.1.3 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Ruby Driver >= 9.0.0, < 9.1.3 9.1.3

References