CVE-2026-9749: Using MaxKey() may crash the server

Published Jun 9, 2026
·
Updated

This issue can occur when running an aggregation pipeline that uses the internal $exchange stage configured with key-range partitioning and order-preserving delivery. If a single key range produces enough documents to fill its exchange buffer (that is, many results are routed to the same consumer), the server reaches the code path where a full per-consumer buffer is detected but the internal "high watermark" for that key range is not updated as intended.

Affected Software

1 affected component
MongoDB MongoDB

Event History

Jun 9, 2026
CVE Published
via MITRE·10:10 PM
Data Sourced
via MITRE·10:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-9749?

The severity of CVE-2026-9749 is rated as medium with a score of 6.5.

2

What impact does CVE-2026-9749 have on MongoDB?

CVE-2026-9749 can result in a server crash when an aggregation pipeline uses the internal $exchange stage with improper key range configurations.

3

How do I fix CVE-2026-9749?

To mitigate CVE-2026-9749, avoid using the MaxKey() function within aggregation pipelines configured with key-range partitioning.

4

What versions of MongoDB are affected by CVE-2026-9749?

CVE-2026-9749 affects specific configurations in MongoDB but the exact versions need to be confirmed in the release notes.

5

Is there a workaround for CVE-2026-9749?

A potential workaround for CVE-2026-9749 is to limit the size of the data processed in a single key range during aggregation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203