module

MongoDB Memory Disclosure (CVE-2025-14847) - Mongobleed

Disclosed
Dec 19, 2025
Created
Dec 30, 2025

Description

This module exploits a memory disclosure vulnerability in MongoDB's zlib
decompression handling (CVE-2025-14847). By sending crafted OP_COMPRESSED
messages with inflated BSON document lengths, the server reads beyond the
decompressed buffer and returns leaked memory contents in error messages.

The vulnerability allows unauthenticated remote attackers to leak server
memory which may contain sensitive information such as credentials, session
tokens, encryption keys, or other application data.

Authors

Alexander Hagenah
Diego Ledda
Joe Desimone

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use auxiliary/scanner/mongodb/cve_2025_14847_mongobleed
msf auxiliary(cve_2025_14847_mongobleed) > show actions
...actions...
msf auxiliary(cve_2025_14847_mongobleed) > set ACTION < action-name >
msf auxiliary(cve_2025_14847_mongobleed) > show options
...show and set options...
msf auxiliary(cve_2025_14847_mongobleed) > run

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.