CVE-2026-135139
6.0medium
Incorrect authorization in has_many delete_all in Mongoid
- Severity
- 6.0medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.45% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Ruby Driver | from 2.1.0 before 9.1.3 | CVE List |
All scores
| mongodb | 6.0medium CVSS:4.0 | 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 |
| mongodb | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-135139 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2026-135139 changed 2026-11-25 | Public domain |