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

Project Subscriptions

Vendors Products
Mongodb Subscribe
Ruby Driver Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 10 Feb 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb ruby Driver
Vendors & Products Mongodb
Mongodb ruby Driver

Tue, 10 Feb 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title Unsafe Reflection in Mongoid::Criteria.from_hash
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 6.9, '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'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-02-10T19:09:44.196Z

Reserved: 2026-02-10T18:55:25.485Z

Link: CVE-2026-2302

cve-icon Vulnrichment

Updated: 2026-02-10T19:09:41.345Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-02-10T19:16:04.677

Modified: 2026-02-10T21:51:48.077

Link: CVE-2026-2302

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-02-10T21:33:19Z

Weaknesses

No weakness.