CVE-2025-46818

published 3 Oct 2025 · updated 14 Nov 2026

Redis: Authenticated users can execute LUA scripts as a different user

7.0HighCVSS 6.0EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Redisredis<8.2.2

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Redis, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-46818 severity on Zeptric[![CVE-2025-46818](https://zeptric.io/badge/cve/CVE-2025-46818.svg)](https://zeptric.io/cve/CVE-2025-46818)