CVE-2025-46818

CVE-2025-46818 is a medium-severity vulnerability in Redis with a CVSS 3.x base score of 6.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.

Key facts

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.

Frequently asked questions

What is CVE-2025-46818?
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.
How severe is CVE-2025-46818?
CVE-2025-46818 has a CVSS 3.x base score of 6.0, rated medium severity. It is exploitable over local access with high attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity high, and availability none.
Is CVE-2025-46818 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (49th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-46818?
CVE-2025-46818 affects Redis. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-46818?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-46818 have an EU (EUVD) identifier?
Yes. CVE-2025-46818 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-33201.
When was CVE-2025-46818 published?
CVE-2025-46818 was published on 2025-10-03 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Redis

All CVEs affecting Redis →

Other CWE-94 (Code Injection) vulnerabilities

Browse all CWE-94 (Code Injection) vulnerabilities →