CVE-2025-46818: redis Code Injection
Vulnerability summary
CVE-2025-46818 is a high (CVSS 7.3) Code Injection vulnerability in redis. EPSS estimates a 0.73% chance of exploitation in the next 30 days, higher than 53.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 24 · Related 14Timeline
- 03-10-2025PublishedVulnerability first disclosed.
- 03-10-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- CVE.orgCNA6.0MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated6.0MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.73%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
0.00 pp
From 0.73% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard5 products
- py3-redisAll versions (No fix recorded)
- py3.10-redisAll versions (No fix recorded)
- py3.11-redisAll versions (No fix recorded)
- py3.12-redisAll versions (No fix recorded)
- py3.13-redisAll versions (No fix recorded)
Debian3 products
- redict< 7.3.6+ds-1
- redis< 5:7.0.15-1~deb12u6 | < 5:8.0.2-3+deb13u1 | < 5:8.0.4-1
- valkey< 8.1.1+dfsg1-3+deb13u1 | < 8.1.4+dfsg1-1
Ubuntu3 products
- redictAll versions (No fix recorded)
- redisAll versions (No fix recorded)
- valkey< 7.2.11+dfsg1-0ubuntu0.2 | < 8.1.4+dfsg1-0ubuntu0.2
Alpine1 product
- valkey< 7.2.11-r0 | < 8.1.4-r0
Redis1 product
- 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
5 vendors · 13 products
References
11 links- github.com/redis/redis/security/advisories/GHSA-qrv7-wcrx-q5jpX Refsource CONFIRMREPORTAdvisoryThird Party Advisory
- github.com/redis/redis/commit/45eac0262028c771b6f5307372814b75f49f7a9eX Refsource MISCREPORTFIXPatch