Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-46818: Redis is an open source, in-memory database that persists on disk

35
Routine
MEDIUM 6.0UPGRADE

CVE-2025-46818 is a medium-severity flaw (CVSS 6.0) affecting redis. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score6.0 (Medium)
Attack vectorLocal
Attack complexityHigh
Privileges neededLow
User interactionRequired
EPSS exploit chance0.7% (top 45%)
CISA exploited listNo
WeaknessCWE-94
Published2025-10-03
Last modified2026-10-19
Publisher (CNA): GitHub, Inc. · Vendor: redis

Share: LinkedIn · X · Reddit

Last updated 2026-10-19 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

redis redis UPGRADE
Affected: < 6.2.20 · >= 7.0 and < 7.2.11 · >= 7.4.0 and < 7.4.6 · >= 8.0.0 and < 8.0.4 · >= 8.2.0 and < 8.2.2
Fixed in: 6.2.20, 7.2.11, 7.4.6, 8.0.4, 8.2.2
Safe to downgrade to: a release before 7.0
1. Check installed version
apt-cache policy redis || rpm -q redis || redis --version
2. UPGRADE to 6.2.20 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade redis
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade redis
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 7.0 (Debian / Ubuntu)
apt-cache madison redis sudo apt install redis=<VERSION_BEFORE_7.0> sudo apt-mark hold redis
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list redis sudo dnf downgrade redis-<VERSION_BEFORE_7.0> sudo dnf versionlock add redis
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-46818?

redis: upgrade to 6.2.20, 7.2.11, 7.4.6, 8.0.4, 8.2.2. Exact commands for each OS are on this page.

Is CVE-2025-46818 being exploited?

CVE-2025-46818 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-46818 affect?

CVE-2025-46818 affects redis. Severity is medium (CVSS 6.0). 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 cont

How urgent is CVE-2025-46818?

Priority 35/100. No elevated risk signals yet.

Software pages

Redis vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.