CVE-2025-46818
Last modified
CVE-2025-46818 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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. EPSS estimates a 0.71% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redis | Redis | < 6.2.20 |
| Redis | Redis | >= 7.0, < 7.2.11 |
| Redis | Redis | >= 7.4.0, < 7.4.6 |
| Redis | Redis | >= 8.0.0, < 8.0.4 |
| Redis | Redis | >= 8.2.0, < 8.2.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-46818?
How severe is CVE-2025-46818?
How do I fix CVE-2025-46818?
Are you affected by CVE-2025-46818?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
