CVE-2026-2302

Unsafe Reflection in Mongoid::Criteria.from_hash

MEDIUM
6.5
CVSS Score
Published: February 10, 2026 at 06:59 PM UTC
Updated: June 17, 2026 at 10:30 AM UTC
1 product affected across 1 vendorRuby Driver

Using MongoDB Ruby Driver by MongoDB Inc?

Get instant alerts when new vulnerabilities affect MongoDB Ruby Driver - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

7.0.0 ≤ v ≤ 7.6.18.0.0 ≤ v ≤ 8.0.128.1.0 ≤ v ≤ 8.1.129.0.0 ≤ v ≤ 9.0.107.0.08.0.08.1.09.0.0

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (1)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMmongodb
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-183

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card