RCE in Redis
CVE-2025-46818
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.0 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.007 (52.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 52nd percentile — 52.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: +0.000
Affected products
- Redis — versions < 8.2.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/redis/redis/security/advisories/GHSA-qrv7-wcrx-q5jp (Third Party Advisory)
- github.com/redis/redis/commit/45eac0262028c771b6f5307372814b75f49f7a9e (Patch)
- github.com/redis/redis/releases/tag/8.2.2 (Release Notes)
Frequently asked questions
- What is CVE-2025-46818?
- CVE-2025-46818 is a medium-severity vulnerability in Redis, classified under Code Injection. CVSS score: 6.0/10. Published 2025-10-03.
- How severe is CVE-2025-46818?
- Medium severity. CVSS v3 base score is 6.0 out of 10.
- Is CVE-2025-46818 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.