{"id":"ALPINE-CVE-2025-46818","details":"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.","modified":"2026-12-03T23:37:43.708097351Z","published":"2025-10-03T19:15:43.330Z","upstream":["CVE-2025-46818"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2025-46818"}],"affected":[{"package":{"name":"redict","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/redict?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.3.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}},{"package":{"name":"redict","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/redict?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.3.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}},{"package":{"name":"redict","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/redict?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.3.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0"},{"fixed":"7.2.11-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"8.0.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.2.0"},{"fixed":"8.2.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.2.0"},{"fixed":"8.2.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.25","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.2.0"},{"fixed":"8.2.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}},{"package":{"name":"valkey","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/valkey?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2.11-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}},{"package":{"name":"valkey","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/valkey?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2.11-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}},{"package":{"name":"valkey","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/valkey?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.1.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}},{"package":{"name":"valkey","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/valkey?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.1.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}},{"package":{"name":"valkey","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/valkey?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.1.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}},{"package":{"name":"valkey","ecosystem":"Alpine:v3.25","purl":"pkg:apk/alpine/valkey?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.1.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-46818.json"}}],"schema_version":"1.9.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}