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

> CVE-2026-135135: Cleartext storage of encrypted embedded fields that use store_as in Mongoid. CVSS 6.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-135135
Last updated: 2026-11-25T20:15:25Z

- Published: 2026-11-25 17:46 UTC · Updated: 2026-11-25 20:15 UTC · Assigner: mongodb
- CVSS: 6.5 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.21%, 11th percentile (scored 2026-12-01)
- CISA KEV: no
- CWE: CWE-312

## 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.

## Affected vendors and products

- MongoDB: Ruby Driver

## Tracked companies

- [MongoDB Atlas](https://rewindex.com/company/mongodb-atlas.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-135135)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-135135)
- [https://jira.mongodb.org/browse/MONGOID-6050](https://jira.mongodb.org/browse/MONGOID-6050)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-135135 · Markdown: https://rewindex.com/cve/CVE-2026-135135.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-135135 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-12-02T03:52:39.159Z
