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-05-07
AI Q&A
2026-02-10
EPSS Evaluated
2026-05-05
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 Powered Q&A
Can you explain this vulnerability to me?

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.


How can this vulnerability impact me? :

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.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

I don't know


What immediate steps should I take to mitigate this vulnerability?

I don't know


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart