CVE-2026-2302: Unsafe Reflection in Mongoid::Criteria.from_hash
Vulnerability summary
CVE-2026-2302 is a medium (CVSS 6.9) Permissive List of Allowed Inputs vulnerability in mongodb inc mongodb ruby driver. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 15% of scored vulnerabilities.
Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 10-02-2026PublishedVulnerability first disclosed.
- 27-02-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- NVDNIST6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.23% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Mongodb inc1 product
- mongodb ruby driver≥ 7.0.0, ≤ 7.6.1 | ≥ 8.0.0, ≤ 8.0.12 | ≥ 8.1.0, ≤ 8.1.12 | ≥ 9.0.0, ≤ 9.0.10
Ubuntu1 product
- ruby-mongoAll versions (No fix recorded)
2 vendors · 2 products