CVE-2025-46818
Severity CVSS v4.0:
Pending analysis
Type:
CWE-94
Code Injection
Publication date:
03/10/2025
Last modified:
27/01/2026
Description
Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted Lua script to manipulate different LUA objects and potentially run their own code in the context of another user. The problem exists in all versions of Redis with LUA scripting. This issue is fixed in version 8.2.2. A workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing LUA scripts. This can be done using ACL to block a script by restricting both the EVAL and FUNCTION command families.
Impact
Base Score 3.x
6.00
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* | 6.2.20 (excluding) | |
| cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* | 7.0 (including) | 7.2.11 (excluding) |
| cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* | 7.4.0 (including) | 7.4.6 (excluding) |
| cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* | 8.0.0 (including) | 8.0.4 (excluding) |
| cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* | 8.2.0 (including) | 8.2.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



