Skip to content

MongoBleed CVE-2025-14847: 87,000 Exposed MongoDB Instances Under Active Attack, Memory Leaking Credentials

CVE-2025-14847, named MongoBleed, is an unauthenticated memory disclosure vulnerability in MongoDB Server that allows attackers to read uninitialized heap memory from any internet-exposed instance. With 87,000 potentially vulnerable deployments globally and CISA KEV inclusion confirmed, active exploitation campaigns are targeting MongoDB instances to extract credentials, API keys, and sensitive data cached in server memory. The fix has been available since December 2025.

Article network-security

The Vulnerability

CVE-2025-14847 (MongoBleed) is an unauthenticated information disclosure vulnerability in MongoDB Server arising from improper handling of length parameter inconsistency in zlib compressed protocol headers. When a MongoDB server processes a connection using zlib compression (which is enabled by default), an unauthenticated client can send a specifically crafted message that causes the server to respond with content from uninitialised heap memory.

The vulnerability has a CVSS score of 8.7 (High) and requires no authentication, no user interaction, and no special configuration β€” only network access to a MongoDB port (default: 27017).

Heap memory on a production MongoDB server is likely to contain:

  • Fragments of recently processed queries and documents
  • Cached credentials and connection string components
  • API keys and tokens stored in database collections that are cached in memory
  • Session data and authentication material

CISA added CVE-2025-14847 to the Known Exploited Vulnerabilities catalogue in late December 2025 with a federal remediation deadline of 19 January 2026. Despite the patch being available since December, approximately 87,000 potentially vulnerable MongoDB instances remain internet-exposed globally.

Why MongoDB Is Widely Internet-Exposed

MongoDB has historically had significant internet exposure due to:

  • Default configurations in some deployment guides that bind to all network interfaces
  • Developer-deployed instances in cloud environments (AWS, Azure, GCP) lacking security group restrictions
  • Legacy instances deployed before MongoDB added authentication requirements by default
  • Docker-based deployments where port mappings inadvertently expose MongoDB to the host’s public interface

The combination of widespread exposure, default zlib compression, and a memory leak reachable without authentication makes MongoBleed highly effective for automated scanning campaigns.

Active Exploitation Patterns

Security researchers at eSentire and Akamai documented active exploitation activity targeting MongoBleed in automated campaigns that:

  1. Scan internet address ranges for open MongoDB ports
  2. Send specially crafted zlib-compressed connection payloads
  3. Parse the heap memory response for high-entropy strings (credentials, API keys, tokens) using pattern matching
  4. Return positive results to the attacker’s collection infrastructure

This is a fully automated, low-skill exploit β€” the technical barrier is extremely low once tooling is available, and tooling has been circulating since disclosure.

What Gets Exposed

Memory disclosure vulnerabilities leak whatever happens to be in recently active heap regions. For MongoDB in production:

  • Recently queried document data from high-traffic collections β€” potentially including customer PII, financial records, or health data
  • Authentication material: passwords submitted to MongoDB’s auth process may transiently occupy heap, as can session tokens from authenticated connections
  • Connection strings and credentials: applications that pass connection credentials to MongoDB may have those credentials cached in connection pool buffers
  • Application API keys stored as values in MongoDB collections frequently accessed by the application

The quantity and sensitivity of leaked data is probabilistic rather than deterministic β€” each connection leak reveals a random heap region. Sustained exploitation increases the probability of exposing sensitive material.

  1. Upgrade MongoDB immediately: versions 8.2.3, 8.0.17, 7.0.28, 6.0.27, 5.0.32, and 4.4.30 address CVE-2025-14847
  2. Disable zlib compression as a temporary mitigation if upgrading is immediately impossible: configure MongoDB’s net.compression.compressors option to exclude zlib
  3. Remove internet exposure: MongoDB should never be directly internet-accessible β€” place it in a private network and restrict access to application servers only via security group or firewall rules
  4. Audit MongoDB network bindings: verify the net.bindIp configuration is restricted to localhost or specific private addresses, not 0.0.0.0
  5. Rotate credentials and API keys stored in MongoDB collections or passed through MongoDB connections, particularly on internet-exposed instances
  6. Run a cloud security posture scan to identify any MongoDB instances in your cloud environments that have inadvertent public exposure β€” services like AWS Security Hub, Azure Defender for Cloud, or Wiz can identify misconfigured database network access

Share this article

Related Intelligence

🌐 Network

CISA Adds Ivanti EPMM CVE-2026-1340 to KEV β€” Federal Patch Deadline Today

CISA has added CVE-2026-1340, a critical unauthenticated remote code execution flaw in Ivanti Endpoint Manager Mobile, to the Known Exploited Vulnerabilities catalogue with a federal agency deadline of 11 April. The vulnerability chains with CVE-2026-1281 to enable full appliance takeover and has been actively exploited since January 2026. All organisations running Ivanti EPMM on-premises must patch immediately.

#ivanti +8
🌐 Network

Cisco Catalyst SD-WAN Manager CVE-2026-20262 Actively Exploited β€” Arbitrary File Overwrite Escalates to Root

A file upload vulnerability in Cisco Catalyst SD-WAN Manager is under active exploitation, allowing an attacker with network-operator level access to overwrite arbitrary files on the underlying operating system and escalate privileges to root. CISA added CVE-2026-20262 to the Known Exploited Vulnerabilities catalogue on 16 June, setting a federal remediation deadline.

#cisco +5
🌐 Network

PAN-OS GlobalProtect CVE-2026-0257 (CVSS 9.3): Authentication Bypass Exploited Against Government and Critical Infrastructure

Palo Alto Networks has confirmed active exploitation of CVE-2026-0257, a critical authentication bypass in the GlobalProtect gateway that allows an unauthenticated attacker to establish VPN sessions as arbitrary users. CISA has added the flaw to the Known Exploited Vulnerabilities catalogue, and Palo Alto's Unit 42 has observed exploitation targeting government and critical infrastructure networks since at least 12 June.

#palo-alto +7