CVE-2026-126817: medium-severity vulnerability in MongoDB Ruby Driver
Mongoid stores encrypted fields in plaintext when two models share a collection
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6epss 0.1%
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.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Affected products
MongoDB · Ruby DriverRelated CVEs — MongoDB Ruby Driver
In the same product, most dangerous first.
CVE-2026-129925MEDIUMAuthentication identity confusion via NUL-byte injection in SASL PLAIN credentialsEPSS 0.3%CVE-2026-88030MEDIUMGridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Ruby DriverEPSS 0.3%CVE-2026-129924MEDIUMCredential exposure via unmasked connection string in driver parse-error messages for the Ruby driverEPSS 0.1%CVE-2026-126818HIGHMongoid 9.1.1 incomplete CVE-2026-93764 fix stores descendant-only encrypted fields in plaintextEPSS 0.1%