CVE-2026-126817 Mongoid stores encrypted fields in plaintext when two models share a collection
MediumCVSS 6.0
EPSS 0.15%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
A flaw in the automatic client-side encryption schema generation of the Mongoid ODM may cause values that an application declared for encryption to be written and stored as cleartext when more than one model is mapped onto the same storage location. No error or warning is raised. A party holding an ordinary read-only database account, with no access to the encryption key material, may then obtain those values in clear form.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Ruby Driver | = 9.0.0; = 9.0.1; = 9.0.2; = 9.0.3 +11 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Ruby Driver | = 9.0.0 | No fix listed |
| MongoDB Ruby Driver | = 9.0.1 | No fix listed |
| MongoDB Ruby Driver | = 9.0.2 | No fix listed |
| MongoDB Ruby Driver | = 9.0.3 | No fix listed |
| MongoDB Ruby Driver | = 9.0.4 | No fix listed |
| MongoDB Ruby Driver | = 9.0.5 | No fix listed |
| MongoDB Ruby Driver | = 9.0.6 | No fix listed |
| MongoDB Ruby Driver | = 9.0.7 | No fix listed |
| MongoDB Ruby Driver | = 9.0.8 | No fix listed |
| MongoDB Ruby Driver | = 9.0.9 | No fix listed |
| MongoDB Ruby Driver | = 9.0.10 | No fix listed |
| MongoDB Ruby Driver | = 9.0.11 | No fix listed |
| MongoDB Ruby Driver | = 9.0.12 | No fix listed |
| MongoDB Ruby Driver | = 9.1.0 | No fix listed |
| MongoDB Ruby Driver | = 9.1.1 | No fix listed |
References
- jira.mongodb.org
- ENISA EUVD EUVD-2026-125452 third-party-advisory