Critical MongoDB and Redis Flaws Expose Data and Enable Remote Code Execution
Vulnerability Disclosure · 4 sources · Updated 5mo ago · First seen Apr 14, 2026

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


