CVE-2026-135139
published medium CVSS 4.0 · 6.0Incorrect authorization in has_many delete_all in Mongoid
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | Ruby Driver2.1.0 to < 9.1.3 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | mongodb · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | Ruby Driver | 2.1.0 to < 9.1.3 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-863 CWE-863: Incorrect Authorization
References
1Provider assertions
2mongodb · cna
Incorrect authorization in has_many delete_all in Mongoid
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eb5a22ffadd79fb056ef95a73296c616fd644f492147a609147d23135dd99e65
- Ingested
- 25 Nov 2026, 19:22:23 UTC
- Source record
- Official CVE record