Skip to content
DayZeroHub
High Not yet writtenCVSS 7.1CVE-2026-135135

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

MongoDB Ruby Driver

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135135: high-severity vulnerability (CVSS 7.1) in MongoDB Ruby Driver.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.1.

Affected products and versions

MongoDB Ruby Driver >= 9.0.0, < 9.1.3

ProductVersionsFixed in
MongoDB Ruby Driver>= 9.0.0, < 9.1.3—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-312

Relevant change history

  1. Published

    Preliminary advisory published.