CVE-2026-135139
Published:November 25, 2026
Updated:November 27, 2026
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 Packages
https://github.com/mongodb/mongoid.git (GITHUB):
Affected version(s) >=2.1.0 <v9.1.3 || >=v2.2.1 <v9.1.3 || >=v3.0.0.rc <v9.1.3 || >=v4.0.0.alpha1 <v9.1.3 || >=v5.0.0.beta <v9.1.3 || >=v6.0.0.beta <v9.1.3 || >=v7.0.0.beta <v9.1.3 || >=v8.0.0 <v9.1.3 || >=v8.1.0 <v9.1.3 || >=v9.0.0 <v9.1.3 || >=v9.1.0 <v9.1.3Fix Suggestion:
Update to version v9.1.3mongoid (RUBY):
Affected version(s) >=4.0.0.alpha1 <9.1.3 || >=2.1.0 <9.1.3 || >=9.1.0 <9.1.3 || >=7.0.0.beta <9.1.3 || >=9.0.0 <9.1.3 || >=3.0.0.rc <9.1.3 || >=5.0.0.beta <9.1.3 || >=8.1.0 <9.1.3 || >=8.0.1 <9.1.3 || >=6.0.0.beta <9.1.3Fix Suggestion:
Update to version 9.1.3Related ResourcesĀ (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Incorrect Authorization
EPSS
Base Score:
0.45