CVE-2026-9737

Find command with $meta sort can lead to crash

Published Jul 22, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Mongodb mongodb
CPEs cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:9.0.0:alpha0:*:*:-:-:*:*
cpe:2.3:a:mongodb:mongodb:9.0.0:alpha1:*:*:-:-:*:*
cpe:2.3:a:mongodb:mongodb:9.1.0:alpha0:*:*:-:-:*:*
Vendors & Products Mongodb mongodb
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Jul 23, 2026, 2:24 PM
Reserved
May 27, 2026, 5:29 PM
Status
Analyzed
Published
Jul 22, 2026, 8:17 PM
Modified
Oct 24, 2026, 1:10 PM