CVE-2026-135139
JSON

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 packageVersionsReported by
MongoDB Ruby Driverfrom 2.1.0 before 9.1.3CVE List

All scores

mongodb6.0medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
mongodb6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-863

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-135139 changed 2026-11-25CVE Terms of Use
NVDCVE-2026-135139 changed 2026-11-25Public domain