CVE-2026-93759

Source
https://cve.org/CVERecord?id=CVE-2026-93759
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93759.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-93759
Published
2026-09-18T17:27:51Z
Modified
2026-09-26T03:48:39Z
Severity
  • 8.8 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Server-side JavaScript injection via string query criteria bypassing the strict operator allowlist
Details

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.

Database specific
{
    "cna_assigner":  "mongodb",
    "cwe_ids":  [
        "CWE-94"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93759.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "introduced":  "9.1.0"
                },
                {
                    "last_affected":  "9.1.0"
                },
                {
                    "introduced":  "9.0.0"
                },
                {
                    "last_affected":  "9.0.11"
                },
                {
                    "introduced":  "8.1.0"
                },
                {
                    "last_affected":  "8.1.12"
                },
                {
                    "introduced":  "8.0.0"
                },
                {
                    "last_affected":  "8.0.12"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/mongodb/mongoid

Affected ranges

Type
GIT
Repo
https://github.com/mongodb/mongoid
Events
Database specific
Show details
{
    "cpe":  [
        "cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:mongodb:mongoid:9.1.0:*:*:*:*:*:*:*"
    ],
    "extracted_events":  [
        {
            "introduced":  "8.0.0"
        },
        {
            "fixed":  "8.0.13"
        },
        {
            "introduced":  "8.1.0"
        },
        {
            "fixed":  "8.1.13"
        },
        {
            "introduced":  "9.0.0"
        },
        {
            "fixed":  "9.0.12"
        },
        {
            "introduced":  "9.1.0"
        },
        {
            "last_affected":  "9.1.0"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "CPE_STRING"
    ]
}

Affected versions

9.*
9.1.0
v8.*
v8.0.0
v8.0.1
v8.0.10
v8.0.11
v8.0.12
v8.0.2
v8.0.3
v8.0.4
v8.0.5
v8.0.6
v8.0.7
v8.0.8
v8.0.9
v8.1.0
v8.1.1
v8.1.10
v8.1.11
v8.1.12
v8.1.2
v8.1.3
v8.1.4
v8.1.5
v8.1.6
v8.1.7
v8.1.8
v8.1.9
v9.*
v9.0.0
v9.0.1
v9.0.10
v9.0.11
v9.0.2
v9.0.3
v9.0.4
v9.0.5
v9.0.6
v9.0.7
v9.0.8
v9.0.9
v9.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93759.json"