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

- Priority: **Routine**
- Reason: Not severe (CVSS 6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-03 · Modified: 2025-10-03
- Aliases: ALPINE-CVE-2025-46818, UBUNTU-CVE-2025-46818, DEBIAN-CVE-2025-46818, CGA-2jcv-qq7j-37fc, CGA-335c-jp5g-9p34, CGA-4458-4g88-qqhv, CGA-547w-c325-r2fv, CGA-723v-8255-x34f, CGA-8hh3-9r4j-pwgc, CGA-pc35-cjvm-m3pw, CGA-wgpx-5wr7-x9r6, CGA-wh68-6mj3-qgxq, CGA-x7pw-mfvq-9f7h
- Record: https://cvemate.com/vulnerability/CVE-2025-46818 · JSON: https://cvemate.com/vulnerability/CVE-2025-46818/json

## Description

```text
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.
```

## Signals

- CVSS: 7.3 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.89%, percentile 60.589%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine redict (Alpine Linux): \< 7.3.6-r0
- alpine redis (Alpine Linux): ≥ 7.0, \< 8.0.4-r0 \| ≥ 7.0, \< 8.2.2-r0 \| ≥ 7.0, \< 7.2.11-r0 \| ≥ 8.0.0, \< 8.0.4-r0 \| ≥ 8.2.0, \< 8.2.2-r0
- alpine valkey (Alpine Linux): \< 7.2.11-r0 \| \< 8.1.4-r0
- chainguard py3-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.10-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.11-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.12-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.13-redis (Chainguard): All versions (No fix recorded)
- debian redict (Debian): \< 7.3.6+ds-1
- debian redis (Debian): \< 5:7.0.15-1~deb12u6 \| \< 5:8.0.2-3+deb13u1 \| \< 5:8.0.4-1
- debian valkey (Debian): \< 8.1.1+dfsg1-3+deb13u1 \| \< 8.1.4+dfsg1-1
- ubuntu redict (Ubuntu): All versions (No fix recorded)
- ubuntu redis (Ubuntu): All versions (No fix recorded)
- ubuntu valkey (Ubuntu): \< 7.2.11+dfsg1-0ubuntu0.2 \| \< 8.1.4+dfsg1-0ubuntu0.2
- redis redis: \< 8.2.2 \| \< 6.2.20 \| ≥ 7.0, \< 7.2.11 \| ≥ 7.4.0, \< 7.4.6 \| ≥ 8.0.0, \< 8.0.4 \| ≥ 8.2.0, \< 8.2.2

## References

- <https://github.com/redis/redis/security/advisories/GHSA-qrv7-wcrx-q5jp>
- <https://github.com/redis/redis/commit/45eac0262028c771b6f5307372814b75f49f7a9e>
- <https://github.com/redis/redis/releases/tag/8.2.2>
- <https://security.alpinelinux.org/vuln/CVE-2025-46818>
- <https://ubuntu.com/security/CVE-2025-46818>
- <https://www.cve.org/CVERecord?id=CVE-2025-46818>
- <https://github.com/valkey-io/valkey/commit/6dd003e88feace83e55491f32376f6927896e31e>
- <https://ubuntu.com/security/notices/USN-7893-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-46818>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46818.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46818>

---

Data as of 2026-12-05T04:45:11.132Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
