Insecure Lua Scripting in Redis Database by Redis Labs
CVE-2025-46818
6MEDIUM
What is CVE-2025-46818?
Redis, a popular in-memory database, is susceptible to a vulnerability that allows authenticated users to execute specially crafted Lua scripts. These scripts can manipulate Lua objects and potentially run arbitrary code under the context of a different user. This issue affects all Redis versions that support Lua scripting, posing a significant risk to database security. The vulnerability has been addressed in version 8.2.2, which is essential for securing your Redis installations. As a temporary workaround, users can restrict Lua script execution by utilizing Access Control Lists (ACLs) to block the EVAL and FUNCTION commands.
Affected Version(s)
redis < 8.2.2