CVE-2026-135139 Incorrect authorization in has_many delete_all in Mongoid
MediumCVSS 6.0
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Ruby Driver | >= 2.1.0, < 9.1.3 | 9.1.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Ruby Driver | >= 2.1.0, < 9.1.3 | 9.1.3 |
References
- jira.mongodb.org exploit
- ENISA EUVD EUVD-2026-135620 third-party-advisory
- nvd.nist.gov