CVE-2025-46818 Details
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.
A vulnerability in Redis versions through 8.2.1 allows authenticated users to execute crafted Lua scripts that can manipulate Lua objects and potentially execute code in the context of other users. This issue affects all Redis versions that support Lua scripting.
Users can upgrade to Redis version 8.2.2, which addresses this vulnerability. Alternatively, Lua script execution can be disabled using Access Control Lists (ACLs) to restrict the EVAL and FUNCTION command families.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redis redis | < 6.2.20 >= 7.0, < 7.2.11 >= 7.4.0, < 7.4.6 >= 8.0.0, < 8.0.4 >= 8.2.0, < 8.2.2 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jan 27, 2026 | Modified Analysis | [email protected] |
| Nov 12, 2025 | Reanalysis | [email protected] |
| Oct 10, 2025 | Initial Analysis | [email protected] |
| Oct 3, 2025 | New CVE Received | [email protected] |