← CVE Intelligence

CVE-2026-93759

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

Description (CNA)

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 (CNA)

Vendor / productVersions
MongoDB Inc. / Mongoidaffected 9.1.0; affected 9.0.0 through 9.0.11; affected 8.1.0 through 8.1.12; affected 8.0.0 through 8.0.12

CWE

CWE-94

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.