CVE-2025-46818Redis Code Injection
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 6.0 (MEDIUM)
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:NAttack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- Redis < 6.2.20
- Redis >= 7.0 and < 7.2.11
- Redis >= 7.4.0 and < 7.4.6
- Redis >= 8.0.0 and < 8.0.4
- Redis >= 8.2.0 and < 8.2.2
- redis < 8.2.2
- Redis 6.2.20
- Redis 7.2.11
- Redis 7.4.6
- Redis 8.0.4
- Redis 8.2.2
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Redis and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Oct 3, 2025Published
- Oct 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Redis CVEsYou are reading CVE-2025-46818. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 28, 2026 13:06 UTC