CVE-2025-46818
published medium CVSS 3.1 · 6.0Redis: Authenticated users can execute LUA scripts as a different user
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| redis | — | redis< 8.2.2 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2REDIS6-2025-015 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1221 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1222 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | redis | Advisory build | 6.2.20-1.module_el8.10.0+4056+739731b0 | ALSA-2025:19238 |
| Alpine Linux | edge | redis | Fixed | 8.2.2-r0 | Package fix record |
| Debian | bookworm | redis | Advisory build | 5:7.0.15-1~deb12u6 | DSA-6020-1 |
| Oracle Linux | 8 | redisaarch64 · redis · 6b | Advisory build | 0:6.2.20-1.0.1.module+el8.10.0+90692+1027f9f2 | ELSA-2025-19238 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | redisaarch64 | Advisory build | 6.2.20-1.module+el8.10.0+23551+d4cd15d7 | RHSA-2025:19238 |
| SUSE / openSUSE | SLE-15-SP3 | redisaarch64 | Advisory build | 6.0.14-150200.6.43.1 | SUSE-SU-2025:03507-1 |
| AlmaLinux | 9 | redis | Advisory build | 6.2.20-1.el9_6 | ALSA-2025:19237 |
| AlmaLinux | 9 | redis | Advisory build | 6.2.20-2.el9_7 | ALSA-2025:20926 |
| AlmaLinux | 9 | redis | Advisory build | 7.2.11-1.module_el9.6.0+188+92104ce8 | ALSA-2025:19345 |
| AlmaLinux | 9 | redis | Advisory build | 7.2.11-1.module_el9.6.0+188+92104ce8 | ALSA-2025:20955 |
| Alpine Linux | v3.21 | redis | Fixed | 7.2.11-r0 | Package fix record |
| Alpine Linux | v3.22 | redis | Fixed | 8.0.4-r0 | Package fix record |
| Alpine Linux | v3.23 | redis | Fixed | 8.2.2-r0 | Package fix record |
| Alpine Linux | v3.24 | redis | Fixed | 8.2.2-r0 | Package fix record |
| Debian | trixie | redis | Advisory build | 5:8.0.2-3+deb13u1 | DSA-6020-1 |
| Oracle Linux | 8 | redisx86_64 · redis · 6b | Advisory build | 0:6.2.20-1.0.1.module+el8.10.0+90692+1027f9f2 | ELSA-2025-19238 |
| Oracle Linux | 9 | redisaarch64 | Advisory build | 0:6.2.20-1.el9_6 | ELSA-2025-19237 |
| Oracle Linux | 9 | redisaarch64 | Advisory build | 0:6.2.20-2.el9_7 | ELSA-2025-20926 |
| Oracle Linux | 9 | redisaarch64 · redis · 7b | Advisory build | 0:7.2.11-1.0.1.module+el9.6.0+90693+e335695b | ELSA-2025-19345 |
| Oracle Linux | 9 | redisaarch64 · redis · 7b | Advisory build | 0:7.2.11-1.0.1.module+el9.7.0+90709+dc2ec98a | ELSA-2025-20955 |
| Oracle Linux | 9 | redisx86_64 | Advisory build | 0:6.2.20-1.el9_6 | ELSA-2025-19237 |
| Oracle Linux | 9 | redisx86_64 | Advisory build | 0:6.2.20-2.el9_7 | ELSA-2025-20926 |
| Oracle Linux | 9 | redisx86_64 · redis · 7b | Advisory build | 0:7.2.11-1.0.1.module+el9.6.0+90693+e335695b | ELSA-2025-19345 |
| Oracle Linux | 9 | redisx86_64 · redis · 7b | Advisory build | 0:7.2.11-1.0.1.module+el9.7.0+90709+dc2ec98a | ELSA-2025-20955 |
| Red Hat Enterprise Linux | RHEL-8 | redisppc64le | Advisory build | 6.2.20-1.module+el8.10.0+23551+d4cd15d7 | RHSA-2025:19238 |
| Red Hat Enterprise Linux | RHEL-8 | rediss390x | Advisory build | 6.2.20-1.module+el8.10.0+23551+d4cd15d7 | RHSA-2025:19238 |
| Red Hat Enterprise Linux | RHEL-8 | redissrc | Advisory build | 6.2.20-1.module+el8.10.0+23551+d4cd15d7 | RHSA-2025:19238 |
| Red Hat Enterprise Linux | RHEL-8 | redisx86_64 | Advisory build | 6.2.20-1.module+el8.10.0+23551+d4cd15d7 | RHSA-2025:19238 |
| Red Hat Enterprise Linux | RHEL-9 | redisaarch64 | Advisory build | 6.2.20-1.el9_6 | RHSA-2025:19237 |
| Red Hat Enterprise Linux | RHEL-9 | redisaarch64 | Advisory build | 6.2.20-2.el9_7 | RHSA-2025:20926 |
| Red Hat Enterprise Linux | RHEL-9 | redisaarch64 | Advisory build | 7.2.11-1.module+el9.6.0+23552+a3d3d132 | RHSA-2025:19345 |
| Red Hat Enterprise Linux | RHEL-9 | redisaarch64 | Advisory build | 7.2.11-1.module+el9.7.0+23559+d075163a | RHSA-2025:20955 |
| Red Hat Enterprise Linux | RHEL-9 | redisppc64le | Advisory build | 6.2.20-1.el9_6 | RHSA-2025:19237 |
| Red Hat Enterprise Linux | RHEL-9 | redisppc64le | Advisory build | 6.2.20-2.el9_7 | RHSA-2025:20926 |
| Red Hat Enterprise Linux | RHEL-9 | redisppc64le | Advisory build | 7.2.11-1.module+el9.6.0+23552+a3d3d132 | RHSA-2025:19345 |
| Red Hat Enterprise Linux | RHEL-9 | redisppc64le | Advisory build | 7.2.11-1.module+el9.7.0+23559+d075163a | RHSA-2025:20955 |
| Red Hat Enterprise Linux | RHEL-9 | rediss390x | Advisory build | 6.2.20-1.el9_6 | RHSA-2025:19237 |
| Red Hat Enterprise Linux | RHEL-9 | rediss390x | Advisory build | 6.2.20-2.el9_7 | RHSA-2025:20926 |
| Red Hat Enterprise Linux | RHEL-9 | rediss390x | Advisory build | 7.2.11-1.module+el9.6.0+23552+a3d3d132 | RHSA-2025:19345 |
| Red Hat Enterprise Linux | RHEL-9 | rediss390x | Advisory build | 7.2.11-1.module+el9.7.0+23559+d075163a | RHSA-2025:20955 |
| Red Hat Enterprise Linux | RHEL-9 | redissrc | Advisory build | 6.2.20-1.el9_6 | RHSA-2025:19237 |
| Red Hat Enterprise Linux | RHEL-9 | redissrc | Advisory build | 6.2.20-2.el9_7 | RHSA-2025:20926 |
| Red Hat Enterprise Linux | RHEL-9 | redissrc | Advisory build | 7.2.11-1.module+el9.6.0+23552+a3d3d132 | RHSA-2025:19345 |
| Red Hat Enterprise Linux | RHEL-9 | redissrc | Advisory build | 7.2.11-1.module+el9.7.0+23559+d075163a | RHSA-2025:20955 |
| Red Hat Enterprise Linux | RHEL-9 | redisx86_64 | Advisory build | 6.2.20-1.el9_6 | RHSA-2025:19237 |
| Red Hat Enterprise Linux | RHEL-9 | redisx86_64 | Advisory build | 6.2.20-2.el9_7 | RHSA-2025:20926 |
| Red Hat Enterprise Linux | RHEL-9 | redisx86_64 | Advisory build | 7.2.11-1.module+el9.6.0+23552+a3d3d132 | RHSA-2025:19345 |
| Red Hat Enterprise Linux | RHEL-9 | redisx86_64 | Advisory build | 7.2.11-1.module+el9.7.0+23559+d075163a | RHSA-2025:20955 |
| SUSE / openSUSE | SLE-15-SP3 | redisppc64le | Advisory build | 6.0.14-150200.6.43.1 | SUSE-SU-2025:03507-1 |
| SUSE / openSUSE | SLE-15-SP3 | rediss390x | Advisory build | 6.0.14-150200.6.43.1 | SUSE-SU-2025:03507-1 |
| SUSE / openSUSE | SLE-15-SP3 | redisx86_64 | Advisory build | 6.0.14-150200.6.43.1 | SUSE-SU-2025:03507-1 |
| SUSE / openSUSE | SLE-15-SP4 | redisaarch64 | Advisory build | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SUSE / openSUSE | SLE-15-SP4 | redisppc64le | Advisory build | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SUSE / openSUSE | SLE-15-SP4 | rediss390x | Advisory build | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SUSE / openSUSE | SLE-15-SP4 | redisx86_64 | Advisory build | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SUSE / openSUSE | SLE-15-SP5 | redisaarch64 | Advisory build | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SUSE / openSUSE | SLE-15-SP5 | redisppc64le | Advisory build | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SUSE / openSUSE | SLE-15-SP5 | rediss390x | Advisory build | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SUSE / openSUSE | SLE-15-SP5 | redisx86_64 | Advisory build | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SUSE / openSUSE | SLE-15-SP6 | redisaarch64 | Advisory build | 7.2.4-150600.3.18.1 | SUSE-SU-2025:03505-1 |
| SUSE / openSUSE | SLE-15-SP6 | redisppc64le | Advisory build | 7.2.4-150600.3.18.1 | SUSE-SU-2025:03505-1 |
| SUSE / openSUSE | SLE-15-SP6 | rediss390x | Advisory build | 7.2.4-150600.3.18.1 | SUSE-SU-2025:03505-1 |
| SUSE / openSUSE | SLE-15-SP6 | redisx86_64 | Advisory build | 7.2.4-150600.3.18.1 | SUSE-SU-2025:03505-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | redisaarch64 | Advisory build | 7.2.4-150600.3.18.1 | SUSE-SU-2025:03505-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | redisppc64le | Advisory build | 7.2.4-150600.3.18.1 | SUSE-SU-2025:03505-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | rediss390x | Advisory build | 7.2.4-150600.3.18.1 | SUSE-SU-2025:03505-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | redisx86_64 | Advisory build | 7.2.4-150600.3.18.1 | SUSE-SU-2025:03505-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | redisaarch64 | Advisory build | 8.2.3-bp160.1.1 | OPENSUSE-SU-2025:20121-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | redisppc64le | Advisory build | 8.2.3-bp160.1.1 | OPENSUSE-SU-2025:20121-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rediss390x | Advisory build | 8.2.3-bp160.1.1 | OPENSUSE-SU-2025:20121-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | redisx86_64 | Advisory build | 8.2.3-bp160.1.1 | OPENSUSE-SU-2025:20121-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisaarch64 | Advisory build | 8.2.2-1.1 | OPENSUSE-SU-2025:15600-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisppc64le | Advisory build | 8.2.2-1.1 | OPENSUSE-SU-2025:15600-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rediss390x | Advisory build | 8.2.2-1.1 | OPENSUSE-SU-2025:15600-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisx86_64 | Advisory build | 8.2.2-1.1 | OPENSUSE-SU-2025:15600-1 |
| AlmaLinux | 10 | valkey | Advisory build | 8.0.6-1.el10_0 | ALSA-2025:19675 |
| AlmaLinux | 10 | valkey | Advisory build | 8.0.6-2.el10_1 | ALSA-2025:21936 |
| AlmaLinux | 10 | valkey-devel | Advisory build | 8.0.6-1.el10_0 | ALSA-2025:19675 |
| AlmaLinux | 10 | valkey-devel | Advisory build | 8.0.6-2.el10_1 | ALSA-2025:21936 |
| AlmaLinux | 8 | redis-devel | Advisory build | 6.2.20-1.module_el8.10.0+4056+739731b0 | ALSA-2025:19238 |
| AlmaLinux | 8 | redis-doc | Advisory build | 6.2.20-1.module_el8.10.0+4056+739731b0 | ALSA-2025:19238 |
| AlmaLinux | 9 | redis-devel | Advisory build | 6.2.20-1.el9_6 | ALSA-2025:19237 |
| AlmaLinux | 9 | redis-devel | Advisory build | 6.2.20-2.el9_7 | ALSA-2025:20926 |
| AlmaLinux | 9 | redis-devel | Advisory build | 7.2.11-1.module_el9.6.0+188+92104ce8 | ALSA-2025:19345 |
| AlmaLinux | 9 | redis-devel | Advisory build | 7.2.11-1.module_el9.6.0+188+92104ce8 | ALSA-2025:20955 |
| AlmaLinux | 9 | redis-doc | Advisory build | 6.2.20-1.el9_6 | ALSA-2025:19237 |
| AlmaLinux | 9 | redis-doc | Advisory build | 6.2.20-2.el9_7 | ALSA-2025:20926 |
| AlmaLinux | 9 | redis-doc | Advisory build | 7.2.11-1.module_el9.6.0+188+92104ce8 | ALSA-2025:19345 |
| AlmaLinux | 9 | redis-doc | Advisory build | 7.2.11-1.module_el9.6.0+188+92104ce8 | ALSA-2025:20955 |
| AlmaLinux | 9 | valkey | Advisory build | 8.0.6-2.el9_7 | ALSA-2025:21916 |
| AlmaLinux | 9 | valkey-devel | Advisory build | 8.0.6-2.el9_7 | ALSA-2025:21916 |
| Alpine Linux | edge | valkey | Fixed | 8.1.4-r0 | Package fix record |
| Alpine Linux | v3.20 | valkey | Fixed | 7.2.11-r0 | Package fix record |
| Alpine Linux | v3.21 | valkey | Fixed | 7.2.11-r0 | Package fix record |
| Alpine Linux | v3.22 | redict | Fixed | 7.3.6-r0 | Package fix record |
| Alpine Linux | v3.22 | valkey | Fixed | 8.1.4-r0 | Package fix record |
| Alpine Linux | v3.23 | redict | Fixed | 7.3.6-r0 | Package fix record |
| Alpine Linux | v3.23 | valkey | Fixed | 8.1.4-r0 | Package fix record |
| Alpine Linux | v3.24 | redict | Fixed | 7.3.6-r0 | Package fix record |
| Alpine Linux | v3.24 | valkey | Fixed | 8.1.4-r0 | Package fix record |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| redis | redis | < 8.2.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
3Provider assertions
2GitHub_M · cna
Redis: Authenticated users can execute LUA scripts as a different user
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- dc9d9e587d19bd792bdc562bc43e53e4fa3a957283681c652bd1a857d5be5885
- Ingested
- 23 Sep 2026, 08:49:40 UTC
- Source record
- Official CVE record