Under specific conditions when processing a maliciously crafted value of type Hash r, Mongoid::Criteria.from_hash may allow for executing arbitrary Ruby code.
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'}


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 : Received

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

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

Link: CVE-2026-2302

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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