CVE-2025-46818
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-46818, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-10-03

Last updated on: 2025-11-12

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-10-03
Last Modified
2025-11-12
Generated
2026-07-06
AI Q&A
2025-10-03
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
redis redis From 7.0.0 (inc) to 7.2.9 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Redis versions 8.2.1 and below allows an authenticated user to use a specially crafted Lua script to manipulate different Lua objects and potentially execute their own code in the context of another user. It affects all Redis versions with Lua scripting enabled and is fixed in version 8.2.2. A workaround is to prevent users from executing Lua scripts by restricting the EVAL and FUNCTION command families using ACL.

Impact Analysis

The vulnerability can allow an authenticated user to run arbitrary code as another user, potentially leading to unauthorized access or actions within the Redis environment. This could compromise the confidentiality and integrity of data stored in Redis.

Mitigation Strategies

To mitigate this vulnerability immediately without patching, you should prevent users from executing LUA scripts by using Access Control Lists (ACL) to block the EVAL and FUNCTION command families. Alternatively, upgrade Redis to version 8.2.2 or later where the issue is fixed.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-46818. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart