Description
During query planning when reading the sort pattern in raw BSONObj form, in some places we don’t explicitly handle the meta expression case. This may lead to incorrect transformations leading to invariant failure.
Published: 2026-07-22
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in MongoDB Server’s query planner occurs when parsing a sort pattern in raw BSON form. If the sort pattern contains a $meta expression, the planner incorrectly transforms the expression, triggering an invariant failure that crashes the mongod process. The result is a denial of service, interrupting database availability for the affected instance.

Affected Systems

MongoDB Server is the impacted product. No specific product version information was supplied, so all versions released around the time of the advisory may be affected until a vendor update is applied.

Risk and Exploitability

The CVSS score of 7.1 indicates moderate to high severity, while the EPSS score of less than 1% suggests a very low probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is a remote attacker submitting a crafted query that includes a $meta sort expression to a MongoDB instance that accepts arbitrary query inputs. Because the flaw resides in the query planner rather than authentication or authorization controls, an attacker can trigger the crash without local privileges. This inference is based on the description of the flaw affecting the query planner during query planning.

Generated by OpenCVE AI on August 3, 2026 at 23:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest MongoDB release that contains the query planner patch.
  • If an upgrade cannot be performed immediately, sanitize input to reject any $meta sort expressions before they reach the query planner.
  • Limit access to the MongoDB instance to trusted applications or users, reducing the exposure of malformed queries.
  • Enable monitoring for crash events and review MongoDB logs for invariant failures to detect exploitation attempts.

Generated by OpenCVE AI on August 3, 2026 at 23:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 23 Jul 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server

Wed, 22 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
Description During query planning when reading the sort pattern in raw BSONObj form, in some places we don’t explicitly handle the meta expression case. This may lead to incorrect transformations leading to invariant failure.
Title Find command with $meta sort can lead to crash
Weaknesses CWE-617
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Mongodb Mongodb Server
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-07-23T14:24:12.843Z

Reserved: 2026-05-27T17:29:34.842Z

Link: CVE-2026-9737

cve-icon Vulnrichment

Updated: 2026-07-23T14:24:09.947Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-22T20:17:09.863

Modified: 2026-07-23T15:33:09.233

Link: CVE-2026-9737

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:30:17Z

Weaknesses