CVE-2024-46981
criticalpriority · attend · 52EPSS 0.082 · 95 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-27
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional 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 restrict EVAL and EVALSHA commands.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (2)
Public proof-of-concept and weaponised exploit code.
- publicqi/CVE-2024-46981publicqi/CVE-2024-46981PoC · poc_in_github
- xsshk/CVE-2024-46981xsshk/CVE-2024-46981PoC · poc_in_github
affected products (45)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-0017Redis: Mehrere SchwachstellenDeutsch2025-01-06csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Redis ausnutzen, um beliebigen Programmcode auszuführen oder einen Denial of Service zu verursachen.
- BIT-keydb-2024-46981Redis' Lua library commands may lead to remote code execution2025-01-08vendor · osvUS
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional 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 restrict EVAL and EVALSHA commands.
- BIT-redis-2024-46981Redis' Lua library commands may lead to remote code execution2025-01-08vendor · osvUS
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional 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 restrict EVAL and EVALSHA commands.
- BIT-valkey-2024-46981Redis' Lua library commands may lead to remote code execution2025-01-08vendor · osvUS
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional 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 restrict EVAL and EVALSHA commands.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202501-529cnnvd
- EUVD-2024-42220enisa_euvd
- BDU:2025-00214fstec_bdu
- BIT-keydb-2024-46981osv
- BIT-redis-2024-46981osv
- BIT-valkey-2024-46981osv
- GHSA-39h2-x6c4-6w4cosv
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-46981cnnvd
- https://github.com/redis/redis/releases/tag/6.2.17cnnvd
- https://github.com/redis/redis/releases/tag/7.2.7cnnvd
- https://github.com/redis/redis/releases/tag/7.4.2cnnvd
- https://github.com/redis/redis/security/advisories/GHSA-39h2-x6c4-6w4ccnnvd
- https://vigilance.fr/vulnerability/Redis-code-execution-via-Lua-Script-46002cnnvd
- https://github.com/redis/redis/releases/tag/6.2.17enisa_euvd
- https://github.com/redis/redis/releases/tag/7.2.7enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan