CVE-2025-46818CWE-94code-injection

CVE-2025-46818

Medium · published October 3, 2025

CVSS v3.1
6.0
EPSS
1%
Percentile
53.6
In the wild
Unconfirmed
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.

The record
Technical detail
CVSS v3.1
6.0 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00727 · 53.6th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-10-03T23:15Z
Affected products (5)
ProductVersionsFixed in
redis/redis< 6.2.206.2.20
redis/redis≥ 7.0, < 7.2.117.2.11
redis/redis≥ 7.4.0, < 7.4.67.4.6
redis/redis≥ 8.0.0, < 8.0.48.0.4
redis/redis≥ 8.2.0, < 8.2.28.2.2
References (3)
EPSS history
Timeline
  • 03 OCT 18:38Z
    Redis: Authenticated users can execute LUA scripts as a different user
    cvelistv5