CVE-2025-46818: Redis: Authenticated users can execute LUA scripts as a different user

CVE-2025-46818 affects 141 listed versions of Redis in the Dawnsentry catalogue.

7.3CVSS high
Proof of concept publicexploitation
under 1%EPSS (next 30 days)
3 October 2025published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Redis

141 of 183 listed versions are affected. Fixed in 8.2.2. The newest release, 8.12.0, is not affected.

8.2.1 8.2.0 8.0.6 8.0.5 8.0.3 8.0.2 8.0.1 8.0.0 8.0 7.4.12 7.4.11 7.4.10 7.4.9 7.4.8 7.4.7 7.4.5 7.4.4 7.4.3 7.4.2 7.4.1 7.4.0 7.4.0-rc2 7.4.0-rc1 7.2.17 7.2.16 7.2.15 7.2.14 7.2.13 7.2.12 7.2.10 7.2.9 7.2.8 7.2.7 7.2.6 7.2.5 7.2.4 7.2.3 7.0.15 7.0.14 7.0.13 7.0.12 7.0.11 7.0.10 7.0.9 7.0.8 7.0.7 7.0.6 7.0.5 7.0.4 7.0.3 7.0.2 7.0.1 6.2.24 6.2.23 6.2.22 6.2.21 6.2.19 6.2.18 6.2.17 6.2.16 and 81 more

What it is

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:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H (NVD)

Published by GitHub on 3 October 2025. Last changed 19 October 2026. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2025-46818 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.