What is CVE-2026-135140?
CVE-2026-135140 is a medium-severity information disclosure vulnerability in MongoDB Ruby Driver, published on 25 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-312
How severe is CVE-2026-135140?
CVE-2026-135140 scores 5.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by Mongodb.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Which versions are affected by CVE-2026-135140?
An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.
How do I fix CVE-2026-135140?
No fix has been published for CVE-2026-135140 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate any secrets that may have been exposed. More about Information disclosure.
Is CVE-2026-135140 being exploited?
There is no known exploitation of CVE-2026-135140 in the wild and no public exploit code.
Sources
Also known as GHSA-qwcj-f6jg-p4gj.