# CVE-2025-46818: Redis: Authenticated users can execute LUA scripts as a different user

- Severity: Medium 6.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.85%, higher than 59% of CVEs (2026-12-01)
- Published: 2025-10-03T18:38:57.170Z
- Modified: 2026-10-19T17:10:00.173Z
- Also known as: BIT-KEYDB-2025-46818, BIT-REDIS-2025-46818, BIT-VALKEY-2025-46818, GHSA-qrv7-wcrx-q5jp
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- redis redis: < 8.2.2; before 6.2.20; from 7.0 before 7.2.11; from 7.4.0 before 7.4.6; from 8.0.0 before 8.0.4; from 8.2.0 before 8.2.2
- keydb (Bitnami): before 6.2.20; from 7.0.0 before 7.2.11; from 7.3.0 before 7.4.6; from 8.0.0 before 8.0.4; from 8.1.0 before 8.2.2
- redis (Bitnami): before 6.2.20; from 7.0.0 before 7.2.11; from 7.3.0 before 7.4.6; from 8.0.0 before 8.0.4; from 8.1.0 before 8.2.2
- valkey (Bitnami): before 7.2.11; from 8.0.0 before 8.0.6; from 8.1.0 before 8.1.4

## Every score

- GitHub_M: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/redis/redis/security/advisories/GHSA-qrv7-wcrx-q5jp> (advisory, third-party-advisory)
- <https://github.com/redis/redis/commit/45eac0262028c771b6f5307372814b75f49f7a9e> (fix, patch)
- <https://github.com/redis/redis/releases/tag/8.2.2> (article, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46818> (web)

## Sources

- CVE List: [CVE-2025-46818](https://www.cve.org/CVERecord?id=CVE-2025-46818), CVE Terms of Use, modified 2025-10-03
- NVD: [CVE-2025-46818](https://nvd.nist.gov/vuln/detail/CVE-2025-46818), Public domain, modified 2026-10-19
- Bitnami Vulnerability Database: [BIT-KEYDB-2025-46818](https://osv.dev/vulnerability/BIT-KEYDB-2025-46818), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-REDIS-2025-46818](https://osv.dev/vulnerability/BIT-REDIS-2025-46818), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-VALKEY-2025-46818](https://osv.dev/vulnerability/BIT-VALKEY-2025-46818), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-46818 · Whole record: https://cve.day/CVE-2025-46818.json · Rebuilt by cve.day 2026-11-25T22:59:05.489Z
