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 execute Lua scripts in the context of another user. The vulnerability was discovered and disclosed on October 3, 2025, affecting all versions of Redis with Lua scripting capabilities (Redis Release, GitHub Advisory).

Technical details

The vulnerability stems from insufficient protection of Lua objects, allowing authenticated users to manipulate different LUA objects through specially crafted Lua scripts. The issue has been assigned a CVSS v3.1 score of 6.0 (Medium) with the 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 ('Code Injection') (GitHub Advisory).

Impact

The vulnerability allows authenticated users to potentially execute code in the context of another user, leading to privilege escalation within Redis instances. This could result in unauthorized access to data and potential manipulation of Redis operations with elevated privileges (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Redis version 8.2.2. For users unable to update immediately, a workaround is available by preventing users from executing Lua scripts altogether. This can be implemented using ACL to block script execution by restricting both the EVAL and FUNCTION command families (Redis Release, GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Redis vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-49844CRITICAL9.9
  • RedisRedis
  • redis-devel
NoYesOct 03, 2025
CVE-2025-46817HIGH7
  • RedisRedis
  • redis:7::redis
NoYesOct 03, 2025
CVE-2025-9810MEDIUM6.8
  • RedisRedis
  • redis-doc
NoYesSep 01, 2025
CVE-2025-46819MEDIUM6.3
  • RedisRedis
  • redict
NoYesOct 03, 2025
CVE-2025-46818MEDIUM6
  • RedisRedis
  • redis:6::redis-devel
NoYesOct 03, 2025

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