CVE-2025-46818

Name
CVE-2025-46818
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
CONFIRM https://github.com/redis/redis/security/advisories/GHSA-qrv7-wcrx-q5jp
MISC https://github.com/redis/redis/commit/45eac0262028c771b6f5307372814b75f49f7a9e
MISC https://github.com/redis/redis/releases/tag/8.2.2

Match rules

CPE URI Source package Min version Max version
redis >= 0 < 8.2.2
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* redis >= None < 8.2.2
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* redis >= None < 6.2.20

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
valkey edge-main 8.1.4-r0 Jakub Jirutka <jakub@jirutka.cz> fixed
valkey 3.22-main 8.1.4-r0 Jakub Jirutka <jakub@jirutka.cz> fixed
valkey 3.21-main 7.2.11-r0 Jakub Jirutka <jakub@jirutka.cz> fixed
valkey 3.20-main 7.2.11-r0 Jakub Jirutka <jakub@jirutka.cz> fixed
redis edge-main 7.2.4-r1 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.2.4-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.2.3-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.2.2-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.2.1-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.2.0-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.0.12-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.0.11-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.0.10-r1 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.0.10-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.0.9-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.0.8-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.0.7-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.0.6-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.0.5-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 7.0.4-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 6.2.7-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 6.2.6-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 6.2.5-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 6.2.4-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-main 6.2.0-r0 None possibly vulnerable
redis edge-main 6.0.3-r0 None possibly vulnerable
redis edge-main 5.0.8-r0 None possibly vulnerable
redis edge-main 5.0.4-r0 None possibly vulnerable
redis edge-community 8.2.2-r0 Achill Gilgenast <achill@achill.org> fixed
redis edge-community 8.2.1-r0 Achill Gilgenast <achill@achill.org> fixed
redis edge-community 8.2.0-r1 Achill Gilgenast <achill@achill.org> fixed
redis edge-community 8.2.0-r0 fossdd <fossdd@pwned.life> fixed
redis edge-community 8.0.3-r0 fossdd <fossdd@pwned.life> fixed
redis edge-community 8.0.2-r0 fossdd <fossdd@pwned.life> fixed
redis edge-community 8.0.1-r0 fossdd <fossdd@pwned.life> fixed
redis edge-community 8.0.0-r0 fossdd <fossdd@pwned.life> fixed
redis edge-community 7.2.7-r0 fossdd <fossdd@pwned.life> possibly vulnerable
redis edge-community 7.2.5-r2 fossdd <fossdd@pwned.life> possibly vulnerable
redis edge-community 7.2.5-r1 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-community 7.2.5-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-community 7.2.4-r1 TBK <alpine@jjtc.eu> possibly vulnerable
redis edge-community 7.2.4-r0 None possibly vulnerable
redis edge-community 7.2.2-r0 None possibly vulnerable
redis edge-community 7.2.1-r0 None possibly vulnerable
redis edge-community 7.0.12-r0 None possibly vulnerable
redis edge-community 7.0.8-r0 None possibly vulnerable
redis edge-community 7.0.6-r0 None possibly vulnerable
redis edge-community 7.0.5-r0 None possibly vulnerable
redis edge-community 7.0.4-r0 None possibly vulnerable
redis edge-community 6.2.7-r0 None possibly vulnerable
redis edge-community 6.2.6-r0 None possibly vulnerable
redis edge-community 6.2.5-r0 None possibly vulnerable
redis edge-community 6.2.4-r0 None possibly vulnerable
redis edge-community 6.2.0-r0 None possibly vulnerable
redis edge-community 6.0.3-r0 None possibly vulnerable
redis edge-community 5.0.8-r0 None possibly vulnerable
redis edge-community 5.0.4-r0 None possibly vulnerable
redis 3.22-community 8.0.4-r0 fossdd <fossdd@pwned.life> fixed
redis 3.22-community 8.0.3-r0 fossdd <fossdd@pwned.life> fixed
redis 3.22-community 8.0.2-r0 None fixed
redis 3.22-community 8.0.0-r0 None fixed
redis 3.22-community 7.2.9-r0 fossdd <fossdd@pwned.life> possibly vulnerable
redis 3.22-community 7.2.7-r0 None possibly vulnerable
redis 3.22-community 7.2.5-r1 None possibly vulnerable
redis 3.22-community 7.2.4-r0 None possibly vulnerable
redis 3.22-community 7.2.2-r0 None possibly vulnerable
redis 3.22-community 7.2.1-r0 None possibly vulnerable
redis 3.22-community 7.0.12-r0 None possibly vulnerable
redis 3.22-community 7.0.8-r0 None possibly vulnerable
redis 3.22-community 7.0.6-r0 None possibly vulnerable
redis 3.22-community 7.0.5-r0 None possibly vulnerable
redis 3.22-community 7.0.4-r0 None possibly vulnerable
redis 3.22-community 6.2.7-r0 None possibly vulnerable
redis 3.22-community 6.2.6-r0 None possibly vulnerable
redis 3.22-community 6.2.5-r0 None possibly vulnerable
redis 3.22-community 6.2.4-r0 None possibly vulnerable
redis 3.22-community 6.2.0-r0 None possibly vulnerable
redis 3.22-community 6.0.3-r0 None possibly vulnerable
redis 3.22-community 5.0.8-r0 None possibly vulnerable
redis 3.22-community 5.0.4-r0 None possibly vulnerable
redis 3.19-main 7.2.9-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis 3.19-main 7.2.8-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis 3.19-main 7.2.7-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis 3.19-main 7.2.4-r1 TBK <alpine@jjtc.eu> possibly vulnerable
redis 3.19-main 7.2.4-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis 3.19-main 7.2.3-r0 TBK <alpine@jjtc.eu> possibly vulnerable
redis 3.19-main 7.2.2-r0 None possibly vulnerable
redis 3.19-main 7.2.1-r0 None possibly vulnerable
redis 3.19-main 7.0.12-r0 None possibly vulnerable
redis 3.19-main 7.0.8-r0 None possibly vulnerable
redis 3.19-main 7.0.6-r0 None possibly vulnerable
redis 3.19-main 7.0.5-r0 None possibly vulnerable
redis 3.19-main 7.0.4-r0 None possibly vulnerable
redis 3.19-main 6.2.7-r0 None possibly vulnerable
redis 3.19-main 6.2.6-r0 None possibly vulnerable
redis 3.19-main 6.2.5-r0 None possibly vulnerable
redis 3.19-main 6.2.4-r0 None possibly vulnerable
redis 3.19-main 6.2.0-r0 None possibly vulnerable
redis 3.19-main 6.0.3-r0 None possibly vulnerable
redis 3.19-main 5.0.8-r0 None possibly vulnerable
redis 3.19-main 5.0.4-r0 None possibly vulnerable
redict edge-community 7.3.6-r0 Achill Gilgenast <achill@achill.org> fixed
redict 3.23-community 7.3.6-r0 Achill Gilgenast <achill@achill.org> fixed
redict 3.22-community 7.3.6-r0 fossdd <fossdd@pwned.life> fixed