LiveActive security incident?Get immediate response
CVE Record

CVE-2026-2302: 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.

MediumCVSS 6.9Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2026-2302 is a medium-severity issue in MongoDB’s Ruby ecosystem where Mongoid::Criteria.from_hash may execute arbitrary Ruby code when it processes a malicious Hash value under specific conditions. The record indicates attacker privileges and user interaction are required, reducing urgency versus unauthenticated remote code execution.

Executive priority

Treat as a targeted remediation item, not an emergency, unless critical Ruby applications expose this parsing path to semi-trusted users. Assign ownership to application and dependency teams to confirm exposure and monitor MongoDB guidance.

Technical view

The CVE describes unsafe reflection in Mongoid::Criteria.from_hash. A crafted Hash value may lead to arbitrary Ruby code execution. The listed affected product is MongoDB Ruby Driver versions 7.0.0, 8.0.0, 8.1.0, and 9.0.0, with default status unaffected outside listed versions. CVSS 4.0 score is 6.9.

Likely exposure

Exposure is most likely in Ruby applications using the listed MongoDB Ruby Driver/Mongoid functionality and passing user-influenced Hash data into Mongoid::Criteria.from_hash. Confirm actual package usage because the CVE title references Mongoid while the affected product entry names MongoDB Ruby Driver.

Exploitation context

The CVSS vector indicates network reachability, low attack complexity, required low privileges, and required user interaction. The source bundle does not report active exploitation, and KEV is false. No public exploit status is provided in the supplied sources.

Researcher notes

Evidence is limited to the CVE record and MongoDB Jira reference. The affected-product naming appears ambiguous between Mongoid and MongoDB Ruby Driver. Do not assume broader impact beyond the listed versions and described from_hash condition without vendor confirmation.

Mitigation direction

  • Inventory Ruby applications using Mongoid or the listed MongoDB Ruby Driver versions.
  • Check MongoDB’s Jira issue and official advisories for patched versions or guidance.
  • Avoid passing untrusted Hash input into Mongoid::Criteria.from_hash until vendor guidance is confirmed.
  • Prioritize review of internet-facing applications and administrative workflows using this code path.

Validation and detection

  • Identify applications with the listed affected versions: 7.0.0, 8.0.0, 8.1.0, or 9.0.0.
  • Review code paths that call Mongoid::Criteria.from_hash with user-influenced data.
  • Confirm whether compensating input validation prevents untrusted Hash values reaching the method.
  • Track the MongoDB Jira reference for status, fixes, or vendor clarification.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-183: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-2302 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.9 (4.0)
Known Exploited
No
Published

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.9CVSS 4.0MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N——Primary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

6.9Medium
CVSS 4.0 vector shape for CVE-2026-2302Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
MongoDB IncMongoDB Ruby Driver7.0.0, 8.0.0, 8.1.0, 9.0.0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-183 · source CWE mapping

Permissive List of Allowed Inputs

Permissive List of Allowed Inputs represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.