Every CVE Search/ Get API key

CVE-2026-2302

Unsafe Reflection in Mongoid::Criteria.from_hash

6.9 Medium

Under specific conditions when processing a maliciously crafted value of type Hash r, Mongoid::Criteria.from_hash may allow for executing arbitrary Ruby code.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
Passive

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

0.23%Up 0.2 points since Feb 11, 2026
90%50%10%1%

What each source reports

CVE List Score used 6.9

Unsafe Reflection in Mongoid::Criteria.from_hash

Under specific conditions when processing a maliciously crafted value of type Hash r, Mongoid::Criteria.from_hash may allow for executing arbitrary Ruby code.

Record
CVE-2026-2302
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-183
Updated
2026-11-02
EUVDEUVD-2026-6762 6.9

Under specific conditions when processing a maliciously crafted value of type Hash r, Mongoid::Criteria.from_hash may allow for executing arbitrary Ruby code.

Record
EUVD-2026-6762
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-68xj-h57p-gg5j 6.9

Under specific conditions when processing a maliciously crafted value of type Hash r, Mongoid:...

Under specific conditions when processing a maliciously crafted value of type Hash r, Mongoid::Criteria.from_hash may allow for executing arbitrary Ruby code.

Record
GHSA-68xj-h57p-gg5j
CVSS 4.0
6.9 MediumCVSS: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
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-183
Updated
2026-11-02
NVD 6.9

Under specific conditions when processing a maliciously crafted value of type Hash r, Mongoid::Criteria.from_hash may allow for executing arbitrary Ruby code.

Record
CVE-2026-2302
CVSS 4.0
6.9 MediumCVSS: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
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-183
Updated
2026-11-02
OSVUBUNTU-CVE-2026-2302 6.9

Under specific conditions when processing a maliciously crafted value of type Hash r, Mongoid::Criteria.from_hash may allow for executing arbitrary Ruby code.

Record
UBUNTU-CVE-2026-2302
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ruby-mongo
Ubuntu:16.04:LTS
All versions, plus listed versions
1.10.0-1
None known
ruby-mongo
Ubuntu:18.04:LTS
All versions, plus listed versions
2.4.1-12.4.1-1ubuntu12.5.1-1
None known
ruby-mongo
Ubuntu:20.04:LTS
All versions, plus listed versions
2.5.1-1
None known
ruby-mongo
Ubuntu:22.04:LTS
All versions, plus listed versions
2.5.1-1ubuntu1
None known
ruby-mongo
Ubuntu:24.04:LTS
All versions, plus listed versions
2.5.1-1ubuntu1
None known
ruby-mongo
Ubuntu:25.10
All versions, plus listed versions
2.5.1-1.2ubuntu12.5.1-2
None known
ruby-mongo
Ubuntu:26.10
All versions, plus listed versions
2.23.0-12.24.0-12.24.1-12.25.0-1
None known
ruby-mongo
Ubuntu:26.04:LTS
All versions, plus listed versions
2.5.1-22.23.0-1
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-2302 is a medium vulnerability (CVSS 6.9) in Mongodb Inc Ruby Driver, published February 10, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.23%, the 14th percentile. No source names a fixed version.

References

MoveEnter Open