Skip to content
Info disclosure Write-up Intermediate

CVE-2025-14847 MongoBleed in the Wild: Identifying MongoDB Exposure and Exploitation with Network Metadata by Fabien Guillot

A pre-authentication vulnerability in MongoDB Server stems from mismatched length fields in zlib-compressed protocol headers, allowing unauthenticated attackers to read uninitialized heap memory. Attackers can trawl leaked memory for secrets such as database credentials and cloud access keys.

vectra.ai

Published on vectra.ai

The vulnerability surfaced just days before Christmas and, in the worst case, allowed unauthenticated attackers to read server memory remotely. Fixes are already available, but the blast radius is large: the issue affects virtually every MongoDB release going back nearly ten years.

The author, on vectra.ai

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a mismatch between length fields in zlib-compressed protocol headers causes the server to return uninitialized heap memory.

Impact

An unauthenticated attacker who can reach a MongoDB instance could read server memory and potentially extract plaintext database credentials, cloud access keys, and other sensitive material; TLS and authentication do not remove exploitability.

What the attacker needed

Network reachability to MongoDB; no authentication required

The fix

Upgrade to fixed releases across all supported branches (8.2.3, 8.0.17, 7.0.28, 6.0.27, 5.0.32, or 4.4.30).

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

MongoDB is a database program that stores data. A flaw in how it handles certain network messages lets anyone who can connect to it read leftover memory contents, which may include passwords or keys. No login is needed, so simply reaching the server over the network is enough to try.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.