CVE-2026-18711: MongoDB Use-After-Free Vulnerability Leading to Denial of Service

mongodb Updated 28 Sep 2026

Summary

28/09/2026
Yes i
High
Not published

CVE-2026-18711: An issue in MongoDB Server's query execution engine could allow an authenticated user with read and write privileges to cause an internal reference to be used after the underlying memory has been freed, when running cert... Affects mongodb across 3 version ranges.

>= 7.0.0, < 7.0.41 >= 8.0.0, < 8.0.29 >= 8.2.0, < 8.3.8

Fixed in 7.0.41, 8.0.29 or 8.3.8, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

MongoDB is a widely used open-source NoSQL database that provides high performance, high availability, and easy scalability. It is designed to handle large volumes of data and is particularly well-suited for applications that require flexible data models. However, like any software, MongoDB is not immune to vulnerabilities. The specific issue at hand involves a flaw in the query execution engine that can be exploited under certain conditions.

Vulnerability Detail

The vulnerability identified as CVE-2026-18711 arises from a use-after-free condition in MongoDB's query execution engine. This flaw allows an authenticated user with read and write privileges to execute specific queries against time-series collections, leading to the potential for a server crash or the disclosure of sensitive information from freed memory. The technical implications of this vulnerability are significant, as it can compromise the stability and security of the database server.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 7.0.0, < 7.0.41 7.0.41
  • >= 8.0.0, < 8.0.29 8.0.29
  • >= 8.2.0, < 8.3.8 8.3.8

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary measure, consider restricting access to the MongoDB instance to trusted users only, thereby minimizing the risk of exploitation until the patch can be applied.

Conclusion

The CVE-2026-18711 vulnerability in MongoDB poses significant risks, including potential denial of service and memory disclosure. It is crucial for users to update to the patched versions to mitigate these risks. Additionally, employing workarounds can provide temporary relief while updates are being implemented.

See every vulnerability recorded for mongodb →

Share this vulnerability

FAQ

CVE-2026-18711 is a vulnerability in MongoDB's query execution engine that can lead to denial of service and potential memory disclosure.

Any authenticated user with read and write privileges on MongoDB time-series collections may exploit this vulnerability.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

Exploitation of this vulnerability can lead to server crashes and potential exposure of sensitive data from freed memory.

As a workaround, restrict access to the MongoDB instance to trusted users only until you can apply the necessary updates.

Related vulnerabilities

Recent vulnerabilities recorded for mongodb.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 7.0.0, < 7.0.41 7.0.41
  • >= 8.0.0, < 8.0.29 8.0.29
  • >= 8.2.0, < 8.3.8 8.3.8

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback