CVE-2026-2302
Unsafe Reflection in Mongoid::Criteria.from_hash
- State
- Published
- Severity
- 6.9 Medium
- Published
- Feb 10, 2026
- Updated
- Feb 27, 2026
- Reserved
- Feb 10, 2026
Description
Under specific conditions when processing a maliciously crafted value of type Hash r, Mongoid::Criteria.from_hash may allow for executing arbitrary Ruby code.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | mongodb |
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | mongodb |
Weaknesses
- CWE-183 Permissive List of Allowed Inputs
Affected Products
| Product | Versions |
|---|---|
MongoDB Ruby DriverMongoDB Inc |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.