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-135140: medium-severity vulnerability (CVSS 5.3) in MongoDB Ruby Driver.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.3.
Affected products and versions
MongoDB Ruby Driver >= 9.0.0, < 9.1.3
| Product | Versions | Fixed in |
|---|---|---|
| MongoDB Ruby Driver | >= 9.0.0, < 9.1.3 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://jira.mongodb.org/browse/MONGOID-6026 — CVE Program
Weaknesses (CWE): CWE-312
Relevant change history
Published
Preliminary advisory published.