Redis: Authenticated users can execute LUA scripts as a different user (redis redis)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.74 % · percentile 55 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-94 — Improper Control of Generation of Code
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 6.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2025-33201
- GCVE · GCVE-0-2025-46818
CERT-FR advisories
- CERTFR-2025-AVI-0935 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0899 — Multiples vulnérabilités dans les produits Microsoft · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*< 6.2.20cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*≥ 7.0 < 7.2.11cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*≥ 7.4.0 < 7.4.6cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*≥ 8.0.0 < 8.0.4cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*≥ 8.2.0 < 8.2.2
Affected products
| Product | Versions |
|---|---|
| redis · redis | affected < 8.2.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |