Home CVECVE-2026-25243: Redis RESTORE Vulnerability Exploited in the Wild — How to Patch

CVE-2026-25243: Redis RESTORE Vulnerability Exploited in the Wild — How to Patch

by Knowledge Base Linux
CVE-2026-25243 Redis RESTORE vulnerability security alert illustration

CVE-2026-25243 is no longer just a line in a Redis security advisory. On October 16–17, 2026, honeypots operated by security firm Defused recorded repeated, scripted attempts to exploit this Redis RESTORE vulnerability in the wild — the first confirmed in-the-wild exploitation since Redis disclosed the flaw in May 2026. If you run Redis anywhere in production, especially with weak or shared credentials, this is the week to check your version and patch.

CVE-2026-25243 at a Glance

CVE-2026-25243 is a memory corruption vulnerability (a double free, CWE-415) in the Redis RESTORE command. Redis does not fully validate the serialized payload supplied to RESTORE, so a crafted payload can trigger invalid memory access in the RDB loading code — specifically in the legacy hash zipmap conversion path and in stream consumer group deserialization. Redis warns this can “execute arbitrary code in the context of the Redis server.” The flaw is rated CVSS 8.8 (High). Exploitation requires an authenticated user who holds permission to run RESTORE, which is why exposed instances with default or shared passwords are the prime targets. According to Redis, the problem affects all Redis versions before the fixed releases listed below. Defused reported that one attacker hit its decoy server five times on a timer with the same payload, each run ending by wiping the keyspace — destroying data and its own traces. CISA has not yet added this flaw to the KEV catalog.

Hardening Redis against CVE-2026-25243 with ACL restrictions illustration

Am I Affected by CVE-2026-25243?

You are affected if your Redis server is older than the fixed version for your release series:

  • Redis 6.2.x — fixed in 6.2.22
  • Redis 7.2.x — fixed in 7.2.14
  • Redis 7.4.x — fixed in 7.4.9
  • Redis 8.2.x — fixed in 8.2.6
  • Redis 8.4.x — fixed in 8.4.3
  • Redis 8.6.x — fixed in 8.6.3

Check every instance you run — including the ones hiding inside Docker containers and application stacks:

redis-cli INFO server | grep redis_version
redis-server --version

Also audit who is allowed to call the dangerous command in the first place:

redis-cli ACL LIST

Any non-administrative user that can run RESTORE (or that has +@all / allcommands) widens your exposure to CVE-2026-25243 significantly.

How to Patch CVE-2026-25243 Step by Step

Step 1 — Take a backup first. Trigger a snapshot so you can roll back if the upgrade goes wrong:

redis-cli BGSAVE

Step 2 — Upgrade Redis to the fixed release for your series. On Debian/Ubuntu servers using the official Redis APT repository:

sudo apt update
sudo apt install --only-upgrade redis-server redis-tools
sudo systemctl restart redis-server

If you installed Redis from your distribution’s default repositories, be aware those packages can lag behind upstream — check that the installed version actually reaches the fixed release for your series, and switch to the official Redis repository if it does not. For containerized deployments, pull a fixed image and recreate the container:

docker pull redis:8.6.3
# recreate your container or service with the new image

Step 3 — Verify the running version after the restart:

redis-cli INFO server | grep redis_version

Managed Redis Cloud deployments were patched automatically by Redis and need no action.

Temporary Mitigations If You Cannot Patch Yet

The Redis advisory documents an effective workaround for CVE-2026-25243: block the RESTORE command for every user that does not strictly need it, using ACL rules:

redis-cli ACL SETUSER myappuser -RESTORE
redis-cli ACL SETUSER default -RESTORE

Keep RESTORE available only to a dedicated admin account, because backup, migration and replication tooling may legitimately use it. In addition:

  • Set enable-debug-command no in redis.conf (Redis 7.0+) to disable the DEBUG command in production.
  • Never expose Redis directly to the internet. Bind it to trusted interfaces, enforce authentication with a strong unique password, and firewall port 6379 to known clients only.
  • Run Redis under its dedicated low-privilege account with no shell access — the same hardening mindset we recommend in our guide to Kubernetes ConfigMaps and Secrets, where database credentials should live as managed secrets, not shared passwords.

Detection: Signs of CVE-2026-25243 Exploitation

Because exploitation is now confirmed, patching alone is not enough — check for traces. Watch for crash or restart signatures in the Redis log shortly after RESTORE activity, since failed exploit attempts typically crash the server. Review your ACL configuration for unexpected users or newly granted command permissions, and investigate any unexplained keyspace wipe (FLUSHALL-like behaviour), which the observed attacker performed after each attempt. Finally, confirm there are no new persistence mechanisms for the redis system account, such as added SSH keys or cron entries. For the authoritative technical details, see the Redis 8.6.3 release notes, which list CVE-2026-25243 among the security fixes.

Conclusion

CVE-2026-25243 turns authenticated Redis access into potential remote code execution, and attackers have started scanning for exactly the kind of weakly protected instances that are everywhere. Upgrade to 6.2.22, 7.2.14, 7.4.9, 8.2.6, 8.4.3 or 8.6.3 today; if you cannot, strip RESTORE from every non-admin ACL right now and schedule the upgrade. A ten-minute patch beats an incident response.

You may also like

KbLinux

Typically replies within a day

Hello, Welcome to the site. Please click below button for chatting me through Telegram.