NoSQL injection of JavaScript-executing query operators via unsafe-by-default operator guard
Mongoid does not restrict which query operators may come from caller-supplied filter data when an application hands that data to its query-building methods. In an application that forwards externally supplied filter parameters in this way, a party with no credentials may influence how the database evaluates the query. This may result in unintended disclosure of stored field values and in reduced database performance.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-93760
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:54 UTC · Revision 1
Source evidence
NoSQL injection of JavaScript-executing query operators via unsafe-by-default operator guard
core-osv · Original sourcePublished 18 Sept 2026, 17:24 UTC
Mongoid does not restrict which query operators may come from caller-supplied filter data when an application hands that data to its query-building methods. In an application that forwards externally supplied filter parameters in this way, a party with no credentials may influence how the database evaluates the query. This may result in unintended disclosure of stored field values and in reduced database performance.
osv:CVE-2026-93760
Complete source record
{
"id": "01c7b518be18af6d094faa90988805e5b7d9628d9afd43c95542881124f7daf1",
"url": "https://osv.dev/vulnerability/CVE-2026-93760",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "NoSQL injection of JavaScript-executing query operators via unsafe-by-default operator guard",
"summary": "Mongoid does not restrict which query operators may come from caller-supplied filter data when an application hands that data to its query-building methods. In an application that forwards externally supplied filter parameters in this way, a party with no credentials may influence how the database evaluates the query. This may result in unintended disclosure of stored field values and in reduced database performance.",
"evidence": "osv:CVE-2026-93760",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-93760",
"aliases": [
"CVE-2026-93760"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mongodb/mongoid",
"type": "GIT",
"events": [
{
"introduced": "6e780948d297615520085d0df49dbe270c34430d"
},
{
"fixed": "4775b2a3ced15ba4505a0f03927ada4a9a9a9f74"
},
{
"introduced": "c95c4859ece38f2d42bf9b9984e7791532a17ff7"
},
{
"fixed": "492a97bb60c554219a52fe07db7c161c8849b5ca"
},
{
"introduced": "88f4b1ae86fab094b553a443dc5067493210c384"
},
{
"fixed": "5373073d24abd206a64ab306a0af0b95a084c4f8"
},
{
"introduced": "fc21c4106477474a655e5a4a03d829feb6997b00"
},
{
"last_affected": "fc21c4106477474a655e5a4a03d829feb6997b00"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.0.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.1.0"
},
{
"fixed": "8.1.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "9.0.0"
},
{
"fixed": "9.0.12"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mongodb:mongoid:9.1.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "9.1.0"
},
{
"last_affected": "9.1.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"9.1.0",
"v8.0.12",
"v8.1.12",
"v9.0.11",
"v9.1.0",
"v9.0.10",
"v9.0.9",
"v9.0.8",
"v9.0.7",
"v8.1.11",
"v8.0.11",
"v8.0.10",
"v8.1.10",
"v9.0.6",
"v8.0.9",
"v8.1.9",
"v9.0.5",
"v9.0.4",
"v8.1.8",
"v9.0.3",
"v8.1.7",
"v9.0.2",
"v8.1.6",
"v8.0.8",
"v9.0.1",
"v9.0.0",
"v8.1.5",
"v8.0.7",
"v8.1.4",
"v8.1.3",
"v8.0.6",
"v8.1.2",
"v8.1.1",
"v8.0.5",
"v8.1.0",
"v8.0.4",
"v8.0.3",
"v8.0.2",
"v8.0.1",
"v8.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93760.json"
}
}
],
"modified": "2026-10-28T02:30:37.600417566Z",
"provider": "osv",
"references": [
"https://jira.mongodb.org/browse/MONGOID-5994",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93760.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-93760"
],
"provider_metadata": {
"cwe_ids": [
"CWE-943"
],
"cna_assigner": "mongodb",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "9.1.0"
},
{
"last_affected": "9.1.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
},
{
"extracted_events": [
{
"range": [
{
"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",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93760.json"
}
},
"related_cves": [
{
"value": "CVE-2026-93760",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504957,
"published_at": "2026-09-18T17:24:03.549+00:00"
}