Redis
Redis: Authenticated users can execute LUA scripts as a different user
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 8.2.2
Fixed in 8.2.2
Mitigation
Upgrade redis to 8.2.2 or later.
References
- Vendor advisory github.com/redis/redis/security/advisories/GHS…
- Patch github.com/redis/redis/commit/45eac0262028c771…
- Release notes github.com/redis/redis/releases/tag/8.2.2
Timeline
Days relative to CVE publicationFirst public PoC 3.4 days after publication; not in CISA KEV. First PoC: dwisiswant0/CVE-2025-46818 (created 7 Oct 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| dwisiswant0/CVE-2025-46818 | 7 Oct 2025 +3.4 d | 4 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Redis Lua Sandbox < 8.2.2 - Cross-User Escape | 7 Oct 2025 | 16 Nov 2026 |