CVE-2026-135140 Cleartext storage of encrypted foreign key fields in Mongoid
MediumCVSS 5.3
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Ruby Driver | >= 9.0.0, < 9.1.3 | 9.1.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Ruby Driver | >= 9.0.0, < 9.1.3 | 9.1.3 |
References
- jira.mongodb.org
- ENISA EUVD EUVD-2026-135619 third-party-advisory
- nvd.nist.gov