CVE-2024-46981Redis' Lua library commands may lead to remote code execution
- 7.0HighCVSS base score
- 8.2%Exploitation in 30 daysEPSS · top 5.0% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By GitHub_M
- 4 months later
· 4 months later
Published
- 2 months later
· 2 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 8.2% · top 5.0% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.0.
Affected products
References
References7
- https://github.com/redis/redis/security/advisories/GHSA-39h2-x6c4-6w4c (opens in a new tab)x_refsource_CONFIRM
- https://github.com/redis/redis/releases/tag/6.2.17 (opens in a new tab)x_refsource_MISC
- https://github.com/redis/redis/releases/tag/7.2.7 (opens in a new tab)x_refsource_MISC
- https://github.com/redis/redis/releases/tag/7.4.2 (opens in a new tab)x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/01/msg00018.html (opens in a new tab)
- https://www.vicarius.io/vsociety/posts/cve-2024-46981-detect-redis-vulnerability (opens in a new tab)
- https://www.vicarius.io/vsociety/posts/cve-2024-46981-mitigate-redis-vulnerability (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-42220 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-46981)Record last updated .