What’s Vulnerable › Vulnerabilities
CVE-2026-2302: Unsafe Reflection in Mongoid::Criteria.from_hash
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-10 · updated 2026-06-17
- Weakness: CWE-183
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.
Affected products
- MongoDB Inc MongoDB Ruby Driver: from 7.0.0 through 7.6.1; from 8.0.0 through 8.0.12; from 8.1.0 through 8.1.12; from 9.0.0 through 9.0.10
References
Get alerted when CVE-2026-2302 or the next vulnerability affects your stack