Skip to content
OpenAdvisories
High · 8.6 CVE-2026-93759 EUVD-2026-83214GHSA-vr6j-ghpr-hmgf

Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist

Published Sep 18, 2026 · Updated Sep 21, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
MongoDB Mongoid 9.1.0, 9.0.0 – ≤ 9.0.11, 8.1.0 – ≤ 8.1.12, 8.0.0 – ≤ 8.0.12 —

References