Cybersecurity news

Jessica Doner

Back to the list

CVE-2026-118383: The Pre-Auth MongoDB Use-After-Free That Crashes a New Primary During Failover

The CyberSec Guru,

A pre-authentication use-after-free vulnerability can crash a new primary during a MongoDB replica set failover election.

Vulnerabilities and patches

Overview

MongoDB disclosed a critical security flaw called CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-118383 that allows an unauthenticatedDone without logging in or holding a valid account on the target system attacker to crash a database serverA computer or program on a network that stores data and responds to requests from client devices during a failover event. The vulnerability is a use-after-freeA memory bug where a program keeps using a memory slot after releasing it bug that Datadog Security Labs reproduced and published details for on November 11, 2026. MongoDB rates the issue 9.5 on the CVSS 4.0 scale and classifies it as CWEThe public catalog of software and hardware bug categories, such as buffer overflow or SQL injection-416. The attack requires only two ping commands sent before any authenticationVerifying that a user, device, or program really is who it claims to be before allowing access handshake to plant dormant objects in the server memory. These objects remain inactive until the server wins an election and attempts to catch up on replication data. Every replica set member is affected, including shard and config server members of sharded clusters, while a standalone mongod outside a replica set is not.

Terms in this story

CVE
The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
unauthenticated
Done without logging in or holding a valid account on the target system. An unauthenticated flaw is especially urgent in the news because any stranger on the internet can trigger it without needing a username or password first.
server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
Use-After-Free
A memory bug where a program keeps using a memory slot after releasing it. Software makers frequently patch use-after-free bugs because an attacker can fill that freed memory slot with crafted data and trick the program into running malicious code.
CWE
The public catalog of software and hardware bug categories, such as buffer overflow or SQL injection. While a CVE identifies one specific flaw in one product, the Common Weakness Enumeration names the underlying category of coding mistake so teams can track which bug types recur.
authentication
Verifying that a user, device, or program really is who it claims to be before allowing access. When you enter a password, scan a fingerprint, or present a key, authentication checks your identity before a server decides what your account is allowed to do.
root
The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
patching
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
exploitation
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
severity score
The standard rating scale used to score how severe a software security flaw is. Security advisories include a CVSS rating from low to critical based on how easy a bug is to exploit and how much damage it allows. Security+ objective 4.3 lists the term
credentials
The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
denial of service
An attack that floods or crashes a server or network so real users cannot reach it. An attacker can cause a denial-of-service either by overwhelming a website with junk traffic or by sending a single malformed request that triggers a crash bug. Security+ objective 2.4 lists the term

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The CyberSec Guru website. Cite the article, not this page.

Read the full article on The CyberSec Guru (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related