CVE-2026-135138
Published:November 25, 2026
Updated:November 27, 2026
Mongoid does not consistently apply its read-only attribute protection when attribute names are supplied dynamically by the caller. In an application that forwards caller-supplied attribute names into a document update, a user with basic application privileges may change values held inside a field the model declared immutable. This may result in unintended modification of data the application treats as trusted, such as flags used for its own access decisions.
Affected Packages
https://github.com/mongodb/mongoid.git (GITHUB):
Affected version(s) >=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) >=3.0.0.rc <9.1.3 || >=6.0.0.beta <9.1.3 || >=4.0.0.alpha1 <9.1.3 || >=8.1.0 <9.1.3 || >=8.0.1 <9.1.3 || >=5.0.0.beta <9.1.3 || >=7.0.0.beta <9.1.3 || >=9.0.0 <9.1.3 || >=9.1.0 <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)
Improperly Controlled Modification of Dynamically-Determined Object Attributes
EPSS
Base Score:
0.48