CVE-2026-135140
Last modified
CVE-2026-135140 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| MongoDB | Ruby Driver | >= 9.0.0, < 9.1.3 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-135140?
How severe is CVE-2026-135140?
How do I fix CVE-2026-135140?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-135133An invalid memory release in the MongoDB PHP Driver extensio…7.8
- CVE-2026-135134A NULL pointer dereference and invalid memory release in the…5.9
- CVE-2026-135135Mongoid builds an incomplete automatic encryption schema for…6.5
- CVE-2026-135138Mongoid does not consistently apply its read-only attribute …6.5
- CVE-2026-135139Mongoid contains an incorrect authorization weakness in the …6.5
- CVE-2026-13514A weakness has been identified in Chess Play and Learn App u…2.4
- CVE-2026-135141A logic flaw in the query-building layer of the Mongoid obje…8.1
- CVE-2026-135142An incorrect authorization weakness in the embedded relation…6.5
- CVE-2026-135144A query builder component in a MongoDB integration library f…8.1
- CVE-2026-135145A polymorphic relationship query helper in the MongoDB Eloqu…8.1
- CVE-2026-135146An improper certificate revocation check in the MongoDB Pyth…7.4
- CVE-2026-135147A data-query neutralization weakness in the query builder of…8.2
Are you affected by CVE-2026-135140?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
