CVE-2026-2302
published medium CVSS 4.0 · 6.9Unsafe Reflection in Mongoid::Criteria.from_hash
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc | — | MongoDB Ruby Driver7.0.0 through 7.6.1 · 8.0.0 through 8.0.12 · 8.1.0 through 8.1.12 · 9.0.0 through 9.0.10 · Other versions: unaffected | Affected | Not stated | mongodb |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | mongodb · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc | MongoDB Ruby Driver | 7.0.0 through 7.6.1 (affected · semver)8.0.0 through 8.0.12 (affected · semver)8.1.0 through 8.1.12 (affected · semver)9.0.0 through 9.0.10 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
2- 183
- CWE-183 CWE-183 Permissive List of Allowed Inputs
References
1Provider assertions
2mongodb · cna
Unsafe Reflection in Mongoid::Criteria.from_hash
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8c3814808c6301b15107d3ded1fc91e3588ca8fae1db6a985b53830e45a11a21
- Ingested
- 23 Sep 2026, 09:08:49 UTC
- Source record
- Official CVE record