CVE-2025-49844: RediShell
- Vendors
- RedisLfprojects
RediShell is a use-after-free vulnerability in the embedded Lua scripting engine of Redis. An attacker permitted to execute Lua scripts can submit a specially crafted script that manipulates garbage collection, causing memory still in use to be freed and subsequently accessed. Successful exploitation can escape the Lua sandbox and potentially execute arbitrary native code in the Redis server process. The flaw affects unpatched Redis releases with Lua scripting support, including releases through 8.2.1; fixes are also available for earlier maintained branches. Redis OSS/Community, Redis Software, and Redis Stack deployments are affected when vulnerable Lua scripting functionality is accessible.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise the confidentiality, integrity, and availability of the Redis service and potentially the underlying host. Arbitrary code execution can expose or modify in-memory data, session tokens, and application state, and enable service disruption. Host compromise and subsequent lateral movement depend on the Redis process privileges, host isolation, and accessible network resources; exploitation does not inherently grant operating-system administrator privileges.
Mitigation
If you can’t patch tonight, do this now.
If patching is not immediately possible, prevent users from executing Lua scripts by restricting EVAL and EVALSHA through Redis ACLs, and verify that affected accounts cannot invoke scripting functionality. Enforce authentication and restrict Redis access to trusted applications and administrative systems using network controls. Remove direct Internet exposure and retain localhost-only binding where remote access is unnecessary. Authentication and network restrictions reduce exposure but do not protect against authorized users who retain access to vulnerable scripting functionality.
Remediation
Patch, then assume compromise.
Upgrade Redis OSS/Community to a fixed release on the applicable branch: 8.2.2, 8.0.4, 7.4.6, or 7.2.11, or a later patched release. Fixed Redis Stack releases include 7.4.0-v7 and 7.2.0-v19. Fixed Redis Software releases include 7.22.2-12, 7.8.6-207, 7.4.6-272, 7.2.4-138, and 6.4.2-131. For distribution-packaged or embedded Redis, install the product vendor's security update rather than relying solely on the upstream version number, because fixes may be backported. Carbon Black EDR Server 7.9.0 addresses exposure by disabling Lua scripting commands rather than updating Redis.
Exploits
11 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-49844 exploited in the wild?
- Yes. As of Nov 27, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2025-49844?
- Yes. Mallory tracks 11 public exploits or proofs of concept for CVE-2025-49844, the earliest disclosed Apr 13, 2019.
- Is there a patch for CVE-2025-49844?
- Upgrade Redis OSS/Community to a fixed release on the applicable branch: 8.2.2, 8.0.4, 7.4.6, or 7.2.11, or a later patched release. Fixed Redis Stack releases include 7.4.0-v7 and 7.2.0-v19.
- What products are affected by CVE-2025-49844?
- Redis and Lfprojects Valkey.
- How severe is CVE-2025-49844?
- CVE-2025-49844 has a CVSS v3.1 score of 9.9 (Critical) and an EPSS score of 5.4% (93rd percentile) as of Nov 27, 2026.
Recent activity
247 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.