CVE 6.9 MEDIUM

Unsafe Reflection in Mongoid::Criteria.from_hash_CVE-2026-2302

6.9 / 10
MEDIUM
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

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.

Basic Information

ID CVE-2026-2302
Source mongodb
Published Feb 10, 2026 at 18:59
Modified Feb 10, 2026 at 19:09

Affected Product

Vendor MongoDB Inc
Product MongoDB Ruby Driver
Version 7.0.0
Affected Versions MongoDB Inc MongoDB Ruby Driver 7.0.0
MongoDB Inc MongoDB Ruby Driver 8.0.0
MongoDB Inc MongoDB Ruby Driver 8.1.0
MongoDB Inc MongoDB Ruby Driver 9.0.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.