CVE-2026-135140
JSON

5.3medium

Cleartext storage of encrypted foreign key fields in Mongoid

Severity
5.3medium CVSS:4.0 by mongodb
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mongodb

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.

Affected

Product or packageVersionsReported by
MongoDB Ruby Driverfrom 9.0.0 before 9.1.3CVE List

All scores

mongodb5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
mongodb4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-312

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-135140 changed 2026-11-25CVE Terms of Use
NVDCVE-2026-135140 changed 2026-11-25Public domain