Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2025-46818
Redis vulnerability analysis and mitigation

Overview

Redis versions 8.2.1 and below contain a vulnerability (CVE-2025-46818) that allows 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 vulnerability affects all versions of Redis with LUA scripting support and was fixed in version 8.2.2, released on October 3, 2025 (Redis Release, NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 7.3 (HIGH) by NVD with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H. GitHub assigned it a CVSS score of 6.0 (MEDIUM) with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N. The vulnerability is classified as CWE-94 (Improper Control of Generation of Code) and involves the manipulation of Lua objects that can lead to privilege escalation between Redis users (NVD, GitHub Advisory).

Impact

The vulnerability allows authenticated users to execute code in the context of other users, potentially leading to unauthorized access to data and privilege escalation within Redis instances. This could compromise the confidentiality and integrity of data stored in affected Redis deployments (Security Online).

Exploitability

The vulnerability requires local access and user authentication to exploit. An attacker needs the ability to execute Lua scripts through the EVAL or FUNCTION command families to successfully exploit this vulnerability (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Redis version 8.2.2. For systems that cannot be immediately updated, a workaround is available by preventing users from executing Lua scripts. This can be implemented using Access Control Lists (ACL) to block script execution by restricting both the EVAL and FUNCTION command families (NVD, GitHub Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

redis: 5:7.0.15-1~deb12u6

Fixed

sid

valkey: 8.1.4+dfsg1-1

Fixed

trixie

valkey: 8.1.1+dfsg1-3+deb13u1

Fixed

Ubuntu

Fixed

bionic (esm-apps)

redis

Affected

devel

redis

Affected

focal (esm-apps)

redis

Affected

jammy

redis

Affected

jammy (esm-apps)

redis

Affected

noble

redis

Affected

noble (esm-apps)

redis

Affected

questing

valkey: 8.1.4+dfsg1-0ubuntu0.2

Fixed

RHEL / CentOS

Fixed

OpenShift

Not Affected

RHEL 8

:appstream:redis-0:6-8100020251007064521.489197e6.src

Fixed

RHEL 9

:appstream:redis-0:6.2.20-1.el9_6.src

Fixed

RHEL 10

valkey-0:8.0.6-1.el10_0.src

Fixed

Alpine

Fixed

edge

redict: 7.3.6-r0, 8.2.2-r0

Fixed

v3.20

valkey: 7.2.11-r0

Fixed

v3.21

redis: 7.2.11-r0

Fixed

v3.22

redict: 7.3.6-r0, 8.0.4-r0

Fixed

v3.23

redict: 7.3.6-r0, 8.2.2-r0

Fixed

SourceThis report was generated using AI

Related Redis vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-25589HIGH7.7
  • Redis logoRedis
  • redis-8.4
NoYesMay 05, 2026
CVE-2026-81934HIGH7.5
  • Redis logoRedis
  • redis-devel
NoYesAug 27, 2026
CVE-2026-66373HIGH7.5
  • Redis logoRedis
  • redis7
NoYesJul 25, 2026
CVE-2026-72568MEDIUM6
  • Redis logoRedis
  • redis
NoNoAug 10, 2026
CVE-2026-62356NONEN/A
  • Redis logoRedis
  • redis-bloom
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management