GrepBoard/Manuals
605 manuals ·

Redis CVE-2026-25243 exploited: check version, block RESTORE

·Tested on Ubuntu 24.04 (Docker ubuntu:24.04) · redis-server 5:7.0.15-1ubuntu0.24.04.5 · 2026-10·Test scope ↓·6 steps

Redis CVE-2026-25243 (RESTORE) is now reported exploited. Compare with the fixed versions (8.6.3, 8.4.3, 7.4.9…) and block RESTORE via ACL if you can't upgrade.

The Canadian Centre for Cyber Security updated advisory AV26-423 on 2026-10-19 to say that "open-source reporting indicates that CVE-2026-25243 is being exploited in the wild" (AV26-423). The flaw lets a crafted serialized payload passed to Redis's RESTORE command trigger an invalid memory access, which can let an authenticated user achieve remote code execution (Redis advisory CVSS 7.7; the Ubuntu CVE page shows CVSS 4.0 7.7 and CVSS 3.1 8.8). Compare redis-server --version with the fixed versions and upgrade; if you cannot upgrade right away, narrow network access and block RESTORE with ACLs.

[1] Check the running version.

console
$ redis-server --versionRedis server v=7.0.15 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=d064f9f48c901a92$ redis-cli INFO server | grep -E '^redis_version'redis_version:7.0.15

--version reports the binary on disk; INFO server reports the server that is actually running. If you upgraded the package without restarting, the two differ.

[2] Compare with the fixed versions in the official Redis advisory (Redis security advisory, 2026-05-05).

ProductAffectedFixed versions
Redis OSS/CEAll releases6.2.22 · 7.2.14 · 7.4.9 · 8.2.6 · 8.4.3 · 8.6.3
Redis SoftwareUp to and including 8.0.6 (except fixed builds)8.0.10-64 · 7.22.2-79 · 7.8.6-253 · 7.4.6-279 · 7.2.4-153
Redis Cloud—Already running fixed builds when the advisory was published

The same server versions are listed as the fixed releases for all five CVEs in that advisory (23479, 25243, 25588, 25589, 23631). However, 25588 is a RESTORE flaw when the RedisTimeSeries module is used and 25589 when RedisBloom is used, and the advisory table lists module versions for those two fixes as well. If you load these modules separately, do not stop at the server upgrade; bring the modules up to those versions too.

ModuleCVEFixed versions
RedisTimeSeriesCVE-2026-25588v1.12.14 · v1.10.24 · v1.8.23
RedisBloomCVE-2026-25589v2.8.20 · v2.6.28 · v2.4.23

Check which modules are loaded with redis-cli MODULE LIST. On the default Ubuntu 24.04 redis-server install that was tested, the result was empty, in which case the module versions do not apply. A line with no fixed version in the table, such as 7.0, has nothing to wait for within that line, so plan a move to a line that has one.

[3] On Ubuntu packages, confirm that apt does not fix it yet. Ubuntu 24.04 ships redis-server from the 7.0.15 line.

console
$ apt-cache policy redis-serverredis-server:  Installed: 5:7.0.15-1ubuntu0.24.04.5  Candidate: 5:7.0.15-1ubuntu0.24.04.5

When checked on 2026-10-27, the Ubuntu CVE page listed redis as "Needs evaluation" for every supported release including 24.04 (25.10, which is end of life, is "Ignored"), and the full changelog of this version does not mention the CVE.

console
$ grep -c 'CVE-2026-25243' /tmp/cl.txt0

(/tmp/cl.txt is the full changelog fetched with apt-get changelog redis-server=5:7.0.15-1ubuntu0.24.04.5.) So apt upgrade does not fix this CVE today. Until Ubuntu publishes a notice, the mitigations in [4] and [5] are your actual defense. To switch to a fixed Redis version, use the builds from the official Redis downloads (redis.io/downloads).

[4] Find out who counts as "authenticated". The bug is post-authentication, but with default settings simply connecting makes you authenticated.

console
$ redis-cli ACL LISTuser default on nopass ~* &* +@all

(The app user line created in [5] is left out of this test output.) When default is nopass, the ACL docs say new connections are authenticated as that user without AUTH, and with +@all they can run RESTORE. The Redis advisory's mitigations point the same way: allow only trusted sources through firewalls and network policies, do not allow unauthenticated access (keep protected-mode on), and grant users only the permissions they need.

[5] Block RESTORE with ACLs. The Ubuntu CVE page description also gives "restrict access to the RESTORE command with ACL rules" as the workaround. RESTORE is in the @dangerous and @keyspace categories, and the cluster variant restore-asking is a separate command in the same category.

console
$ redis-cli ACL CAT dangerous | grep -n -i restore50:restore69:restore-asking

Remove both from the user your application uses.

console
$ redis-cli ACL SETUSER app on '>app-secret' '~*' '&*' +@all -restore -restore-askingOK$ redis-cli --user app --pass app-secret --no-auth-warning RESTORE k1 0 xNOPERM this user has no permissions to run the 'restore' command$ redis-cli --user app --pass app-secret --no-auth-warning SET k2 vOK

Only RESTORE is rejected with NOPERM; other commands keep working. If your application connects as default, apply the same rule to default.

  • Check first: see whether any tool uses RESTORE as part of normal work, such as backup restores or moving keys. If so, run that job under a separate admin user.
  • Revert: ACL SETUSER app +restore +restore-asking puts it back.
  • Persist: ACL SETUSER changes memory only. Per the ACL docs, save with ACL SAVE if you use an aclfile, or CONFIG REWRITE if users are defined in redis.conf, so the rule survives a restart.

[6] Look for traces. The Redis advisory lists indicators to search for: access or inbound traffic from unknown sources, unexplained server crashes, unexpected commands run by the redis-server user, unusual outbound traffic, and unexpected changes in the Redis data and configuration directories. If port 6379 was reachable from outside, do this check even after upgrading.

#redis#cve#acl#restore#ubuntu