CVE-2026-2302Published Feb 10, 2026 · Feb 10Updated Jun 17
Unsafe Reflection in Mongoid::Criteria.from_hash
MongoDB Inc MongoDB Ruby Driver
Medium6.9
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| MongoDB Inc MongoDB Ruby Driver |
| No fix yet |
Original 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.
From the CVE record · mongodb