CVE-2026-2302
Awaiting Analysis Awaiting Analysis - Queue
Arbitrary Code Execution via Hash Injection in Mongoid Criteria

Publication date: 2026-02-10

Last updated on: 2026-02-27

Assigner: MongoDB, Inc.

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-10
Last Modified
2026-02-27
Generated
2026-06-16
AI Q&A
2026-02-10
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
mongodb mongodb *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-183 The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are explicitly allowed by policy because the inputs are assumed to be safe, but the list is too permissive - that is, it allows an input that is unsafe, leading to resultant weaknesses.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability occurs under specific conditions when processing a maliciously crafted value of type Hash r in the Mongoid::Criteria.from_hash method. It may allow an attacker to execute arbitrary Ruby code.

Impact Analysis

The vulnerability can lead to the execution of arbitrary Ruby code, which means an attacker could potentially run malicious commands or manipulate the system in unauthorized ways. This could compromise the integrity of your application or data.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-2302. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart