CVE-2026-126817

published 13 Nov 2026 · updated 17 Nov 2026

Mongoid stores encrypted fields in plaintext when two models share a collection

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBRuby Driver=9.0.0, =9.0.1, =9.0.10, =9.0.11, =9.0.12, =9.0.2, =9.0.3, =9.0.4, =9.0.5, =9.0.6, =9.0.7, =9.0.8, =9.0.9, =9.1.0, =9.1.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126817 severity on Zeptric[![CVE-2026-126817](https://zeptric.io/badge/cve/CVE-2026-126817.svg)](https://zeptric.io/cve/CVE-2026-126817)