Vulnerability in MongoDB Ruby Driver
CVE-2026-126817
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.
Published .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.001, 0.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- MongoDB Ruby Driver — versions 9.0.0, 9.0.1, 9.0.10