Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilitywidely-deployed-product-advisoryrapid-weaponizationinternet-exposed-service

Critical MongoDB and Redis Flaws Expose Data and Enable Remote Code Execution

Vulnerability Disclosure · 4 sources · Updated 5mo ago · First seen Apr 14, 2026

Critical MongoDB and Redis Flaws Expose Data and Enable Remote Code Execution

Security advisories warned of two severe database software vulnerabilities with immediate internet-facing risk. In MongoDB, an unauthenticated network attacker can trigger an information disclosure flaw—described in some reporting as MongoBleed—to make a vulnerable server return sensitive data such as credentials, secrets, and personal information. The issue affects MongoDB releases dating back to about 2017 and stems from insufficient validation in the zlib implementation, which can leak uninitialized heap memory allocated to MongoDB. Working exploitation methods are known, and defenders were told to watch for large volumes of malformed or compressed requests, decompression or memory-handling errors, and repeated unauthenticated connections. Patches are available in versions 8.2.3, 8.0.17, 7.0.28, 6.0.27, 5.0.32, and 4.4.30, while end-of-life branches remain unpatched.

A separate advisory disclosed a critical Redis vulnerability affecting 8.2.1 and earlier when Lua scripting is enabled, which is the default configuration. The flaw is a use-after-free condition that can be triggered by a specially crafted Lua script and may allow remote arbitrary code execution, giving an attacker full control of the host running Redis. Officials urged immediate upgrades because the vulnerability is publicly known and exploitation could begin within hours, and they advised organizations to inspect any previously exposed Redis environments for signs of compromise. Fixed versions were listed as 6.2.20, 7.2.11, 7.4.6, 8.0.4, and 8.2.2, alongside renewed guidance that Redis instances should not be exposed directly to the public internet.

Why it matters

Impact assessment

Critical exposure exists for organizations running internet-reachable MongoDB or Redis, especially cloud-hosted databases, embedded database components in applications, and environments that rely on default Redis Lua scripting. MongoDB exposure risks unauthorized disclosure of credentials, secrets, and personal data, while Redis exposure risks full host compromise through remote code execution.

The impact is severe because MongoDB exploitation can leak sensitive memory contents without authentication and Redis exploitation can hand an attacker complete control of the underlying server. Scope is potentially broad due to long MongoDB version coverage dating back to about 2017 and Redis default-enabled Lua support; the reporting states working MongoDB exploitation methods are known and Redis exploitation could begin within hours, with warnings that exposed Redis systems may already be compromised.

Affected populations and products

  • Organizations operating MongoDB instances released from approximately 2017 onward
  • Organizations operating Redis 8.2.1 and earlier
  • Cloud environments using Redis as an in-memory datastore
  • Applications and services embedding MongoDB as a backend component
  • Internet-facing database deployments and misconfigured internal services exposed to untrusted networks

Severity and business consequences

  • MongoDB: unauthorized disclosure of credentials, secrets, usernames, personal data, and other heap-resident sensitive information
  • Redis: remote arbitrary code execution with potential full takeover of the host system
  • Secondary risk: leaked MongoDB secrets may enable compromise of other services, accounts, or environments
  • Likely consequences include incident response costs, regulatory exposure, service disruption, reputational damage, and downstream credential abuse

Scope and exploitation status

  • MongoDB issue affects a wide version range across multiple supported branches; end-of-life branches remain unpatched
  • Redis issue affects 8.2.1 and earlier when Lua scripting is enabled, which is the default
  • MongoDB: working exploitation methods are known
  • Redis: vulnerability is publicly known and defenders were warned exploitation may occur within hours
  • Redis: advisory explicitly recommends reviewing previously exposed environments for signs of compromise
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Jan 1, 2017 – Mar 11, 2026
  1. Mar 11, 20269mo ago

    Redis releases patched versions for critical RCE risk

    Redis published fixed versions 6.2.20, 7.2.11, 7.4.6, 8.0.4, and 8.2.2 for the Lua scripting vulnerability. Guidance also reiterated that Redis instances should not be exposed directly to the public internet and that previously exposed systems should be checked for compromise.

  2. Mar 11, 20269mo ago

    Critical Redis Lua scripting vulnerability becomes publicly known

    A critical use-after-free vulnerability in Redis affecting version 8.2.1 and earlier was disclosed, impacting deployments with Lua scripting enabled by default. The flaw can potentially allow remote arbitrary code execution over the network, and defenders were warned that exploitation could begin within hours.

  3. Jan 2, 202611mo ago

    MongoDB fixes released for information disclosure vulnerability

    MongoDB released patched versions 8.2.3, 8.0.17, 7.0.28, 6.0.27, 5.0.32, and 4.4.30 to address the information disclosure flaw, while end-of-life versions remain without fixes. Finland's NCSC published an alert describing exploitation indicators such as malformed or zlib-compressed requests and repeated unauthenticated connections.

  4. Jan 1, 201710y ago

    MongoDB information disclosure flaw affects versions released since 2017

    A MongoDB vulnerability caused by insufficient validation in zlib can let an unauthenticated network attacker retrieve sensitive data such as credentials, secrets, and personal data from vulnerable servers. The issue affects all MongoDB versions released since approximately 2017, with working exploitation methods reported.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

2 linked
RedisMongodb
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.