CVE-2026-2302
February 10, 2026
Under specific conditions when processing a maliciously crafted value of type Hash r, Mongoid::Criteria.from_hash may allow for executing arbitrary Ruby code.
Affected Packages
https://github.com/mongodb/mongoid.git (GITHUB):
Affected version(s) >=v8.1.0 <v8.1.12Fix Suggestion:
Update to version v8.1.12https://github.com/mongodb/mongoid.git (GITHUB):
Affected version(s) >=v9.0.0 <v9.0.10Fix Suggestion:
Update to version v9.0.10https://github.com/mongodb/mongoid.git (GITHUB):
Affected version(s) >=v7.0.0 <v7.6.1Fix Suggestion:
Update to version v7.6.1https://github.com/mongodb/mongoid.git (GITHUB):
Affected version(s) >=v8.0.0 <v8.0.12Fix Suggestion:
Update to version v8.0.12mongoid (RUBY):
Affected version(s) >=9.0.0 <9.0.10Fix Suggestion:
Update to version 9.0.10mongoid (RUBY):
Affected version(s) >=8.0.1 <8.0.12Fix Suggestion:
Update to version 8.0.12mongoid (RUBY):
Affected version(s) >=8.1.0 <8.1.12Fix Suggestion:
Update to version 8.1.12mongoid (RUBY):
Affected version(s) >=7.0.0 <7.6.1Fix Suggestion:
Update to version 7.6.1Related ResourcesĀ (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
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)
Permissive List of Allowed Inputs
EPSS
Base Score:
0.03