# CVE-2026-135135: Cleartext storage of encrypted embedded fields that use store_as in Mongoid

- Severity: High 7.1 (CVSS:4.0, scored by mongodb) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-25T17:46:19.758Z
- Modified: 2026-11-25T20:15:25.900Z
- Weaknesses: CWE-312
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## Description

Mongoid builds an incomplete automatic encryption schema for certain embedded document associations. As a result, values that the application declared as encrypted may be written to the database in cleartext, with no error or warning returned to the application. A party holding only basic read privileges on the affected collection, and no access to the encryption keys, may then obtain those values in readable form.

(As written by CVE List.)

## Affected

- MongoDB Ruby Driver: from 9.0.0 before 9.1.3

## Every score

- mongodb: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- mongodb: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://jira.mongodb.org/browse/MONGOID-6050>

## Sources

- CVE List: [CVE-2026-135135](https://www.cve.org/CVERecord?id=CVE-2026-135135), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-135135](https://nvd.nist.gov/vuln/detail/CVE-2026-135135), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-135135 · Whole record: https://cve.day/CVE-2026-135135.json · Rebuilt by cve.day 2026-11-25T23:18:45.103Z
