What is CVE-2026-135139?
CVE-2026-135139 is a medium-severity missing authorization 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 contains an incorrect authorization weakness in the handling of caller-supplied filters for bulk removal through a referenced association. Conditions already attached to the association can take precedence over the filter the caller supplied, so records the caller did not select may be removed. A user with basic privileges in an application built on the library may cause unintended removal of records belonging to the same parent record.
Weakness: CWE-863
How severe is CVE-2026-135139?
CVE-2026-135139 scores 6.0 out of 10 under CVSS 4.0, which is medium severity. It was scored by Mongodb.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Which versions are affected by CVE-2026-135139?
An affected version is only exploitable if your software calls delete_all. Many projects that include it are not exposed.
How do I fix CVE-2026-135139?
No fix has been published for CVE-2026-135139 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-135139 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-135139 exists.
Sources
Also known as GHSA-9p32-jgc3-hmrv.