Ruby Code Execution Vulnerability in Mongoid products by MongoDB
CVE-2026-2302
6.9MEDIUM
What is CVE-2026-2302?
A vulnerability exists in Mongoid's processing of Hash-type parameters that can potentially allow an attacker to execute arbitrary Ruby code. This occurs under certain specific conditions when crafting a malicious value that gets processed by Mongoid::Criteria.from_hash. Systems utilizing affected versions of Mongoid are urged to assess their configurations and apply necessary mitigations or updates.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
MongoDB Ruby Driver 7.0.0 <= 7.6.1
MongoDB Ruby Driver 8.0.0 <= 8.0.12
MongoDB Ruby Driver 8.1.0 <= 8.1.12
References
CVSS V4
Score:
6.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved