CVE-2026-93759
published high CVSS 4.0 · 8.8Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc. | — | Mongoid9.1.0 · 9.0.0 through 9.0.11 · 8.1.0 through 8.1.12 · 8.0.0 through 8.0.12 · Other versions: unaffected | Affected | Not stated | mongodb |
Description
Mongoid does not neutralize a string-typed query criterion supplied to its query builder, and instead passes it to the database as a server-side JavaScript expression. An unauthenticated party able to influence the value an application supplies as a query argument may cause code of their choosing to be evaluated by the database engine. This may result in unintended disclosure of stored field values, unintended selection of documents for application-initiated writes, and reduced database performance.
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
- 8.8 / 10
- Severity
- high
- Provider
- mongodb · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.6 | high | mongodb · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc. | Mongoid | 9.1.0 (affected · semver)9.0.0 through 9.0.11 (affected · semver)8.1.0 through 8.1.12 (affected · semver)8.0.0 through 8.0.12 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
1Provider assertions
2mongodb · cna
Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- df6dfbedfb3567155b582aa55ed3072badbd5381bcc842e497e73d0f6bc236a6
- Ingested
- 23 Sep 2026, 09:40:48 UTC
- Source record
- Official CVE record