Databases

Valkey CVE-2026-130822 and Cluster Overflow: Check and Patch

Valkey 9.2.0, 9.1.4, 9.0.8, 8.1.12, 8.0.13 and 7.2.16 fix CVE-2026-130822, a client eviction bug that lets a logged-in user crash the server. The same builds also close GHSA-f4q9-j22m-xqq9, an October heap overflow in cluster Pub/Sub that still has no CVE number, so anything below them carries at least one of the two bugs.

Original content from computingforgeeks.com - post 192633

Below you get the build to install, the commands that show what you run, the distro packages that carry the fix and the settings to switch off until you can upgrade. We checked every path in November 2026 on Ubuntu 26.04, Debian 13, Rocky Linux 10 and Fedora 45, plus the official valkey/valkey Docker image, each starting on a vulnerable build.

Which Valkey version fixes CVE-2026-130822?

The last column is the build to install, because each release that fixes CVE-2026-130822 also contains the October cluster fix. The Valkey advisory for the client eviction use-after-free (GHSA-3885-pq5f-788j) and the one for the cluster publish heap overflow (GHSA-f4q9-j22m-xqq9) list these fixed versions per branch:

BranchCluster overflow fixed in (Oct and Nov)CVE-2026-130822 fixed in (18 and 19 Nov)Docker tag that carries it
9.29.2.0-rc29.2.0latest, 9
9.19.1.39.1.49.1
9.09.0.79.0.89.0
8.18.1.118.1.128, 8.1
8.08.0.128.0.138.0
7.27.2.157.2.167.2
Fixed Valkey releases for both advisories, checked against the valkey-io/valkey advisories and release notes on 20 November 2026

Our advice is to go straight to the November build on your branch rather than stopping at the October one. The two bugs need different conditions, so you might not be exposed to both today, but a config change later (turning on client eviction, or moving to cluster mode) quietly brings the other one into play. Staying on your current branch is enough: you do not need a major upgrade to get either fix, and 7.2.16 closes both holes just as 9.2.0 does.

What do the two Valkey bugs actually do?

CVE-2026-130822 crashes the server, and the cluster overflow can corrupt memory on the node that builds the message. Neither is reachable without logging in, so your exposure depends on which users can connect and what they are allowed to run. The table compares the two as the Valkey advisories describe them.

CVE-2026-130822 (GHSA-3885-pq5f-788j)GHSA-f4q9-j22m-xqq9 (no CVE yet)
BugUse-after-free when client eviction frees the client whose write unblocked other clients, while its command is still runningA 64-bit Pub/Sub message length truncated to 32 bits, so the cluster message buffer is too small
CVSS 3.17.5 (AV:N/AC:H/PR:L)8.8 (AV:N/AC:L/PR:L)
Who can trigger itAn authenticated user who can write to keys other clients block onAn authenticated user who can run Lua scripts or functions and publish
Required configmaxmemory-clients set above 0 (the default 0 is not affected)Cluster mode; standalone servers are not affected
Impact named in the advisoryReliable server crashHeap overflow with possible remote code execution
Reported bynadav-levanoni (issue #5422, fix #5435)Nenad Stojanovski, Trend Micro ZDI (ZDI-26-833, fix #5030)

The overflow needs a channel name plus message larger than 4 GiB. A client cannot send that in one command because proto-max-bulk-len caps a bulk string at 512 MB by default, but a Lua script can build a string that big inside the server and publish it. That’s why the workaround in the advisory is about scripting rather than the network. The fixed builds make PUBLISH and SPUBLISH return an error for oversized payloads instead of building the message. ZDI published its own entry for the bug on 28 October with the CVE field still empty, which is why scanners keyed only on CVE IDs will not flag it.

How do you check if your Valkey server is vulnerable?

Three facts decide your exposure, and valkey-cli reads all of them. A server is at risk when one of these is true:

  • The valkey_version field is below the November fix for its branch.
  • The maxmemory-clients setting returns something other than 0, which turns client eviction on.
  • The INFO cluster section shows cluster_enabled:1.

The first line alone means the vulnerable code is on disk, because both bugs live in every older build. The other two decide which bug an attacker can actually reach, so they tell you how urgent the upgrade is. These commands read all three from a local server; add -h, -p and --user/--pass for a remote one.

valkey-server --version
dpkg-query -W valkey-server
valkey-cli INFO server | head -12
valkey-cli CONFIG GET maxmemory-clients
valkey-cli INFO cluster

On Rocky, AlmaLinux, RHEL or Fedora use rpm -q valkey in place of dpkg-query. Keep both the binary version and the package version, because a distro that backports fixes can leave the first one unchanged. Our Ubuntu 26.04 server, fully updated from the archive, returned this:

Valkey server v=9.0.6 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=b046e1a6a26b81bd
valkey-server	9.0.6-0ubuntu0.1
# Server
redis_version:7.2.4
server_name:valkey
valkey_version:9.0.6
valkey_release_stage:ga
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:b046e1a6a26b81bd
server_mode:standalone
os:Linux 7.0.0-1017-gcp x86_64
arch_bits:64
monotonic_clock:POSIX clock_gettime
maxmemory-clients
0
# Cluster
cluster_enabled:0

Read valkey_version, not redis_version. Every Valkey build reports redis_version:7.2.4 for client compatibility, since that is the Redis release Valkey forked from, so a scanner that trusts that field can report every Valkey server as an old Redis 7.2.4. Here 9.0.6 is below both 9.0.7 and 9.0.8, so the code carries both bugs. In practice this particular server is safe from both for now: maxmemory-clients is 0 and cluster_enabled is 0. That’s the stock config, but anything that changes either value puts the server at risk.

valkey-server --version and INFO server showing Valkey 9.0.6 on Ubuntu 26.04, vulnerable to CVE-2026-130822

A cluster node reads differently. None of our distro servers ran in cluster mode, so we started a 9.1.3 container with --cluster-enabled yes and read it with these commands:

docker exec vk-cluster valkey-cli INFO cluster
docker exec vk-cluster valkey-cli CONFIG GET cluster-port
docker exec vk-cluster valkey-cli INFO server | grep -E "valkey_version|server_mode"

On a host install, drop the docker exec vk-cluster prefix. The two lines to look for are cluster_enabled and server_mode:

# Cluster
cluster_enabled:1
cluster-port
0
valkey_version:9.1.3
server_mode:cluster

Any node showing cluster_enabled:1 or server_mode:cluster on a version below the October fix is exposed to the overflow. cluster-port 0 means the cluster bus listens on the client port plus 10000, so 16379 by default.

INFO cluster showing cluster_enabled:1 and server_mode:cluster on a Valkey 9.1.3 node

Run the same checks on every replica and cluster node, not just the primary you usually log in to. Each process is patched on its own, so a replica left on an old build stays exposed even after the primary is upgraded, and a failover can then promote the vulnerable node.

Which distro packages carry the Valkey fixes?

On 20 November, the only distro builds with both fixes were Debian unstable, Fedora Rawhide and testing updates for Fedora 45, 44 and 43 and EPEL 8. Every stable Ubuntu, Debian and Enterprise Linux package we checked predates both advisories, and Alpine has only the October cluster fix. The Ubuntu and Debian CVE trackers and NVD had no page for CVE-2026-130822 when we checked, so “not listed” there doesn’t mean “not affected”.

DistroValkey packageCluster overflowCVE-2026-130822
Ubuntu 26.049.0.6-0ubuntu0.1 (resolute-updates)VulnerableVulnerable
Ubuntu 24.047.2.14+dfsg1-0ubuntu0.1VulnerableVulnerable
Debian 138.1.1+dfsg1-3+deb13u3 (trixie-security, 24 Oct)VulnerableVulnerable
Debian 12 backports8.0.1+dfsg1-1~bpo12+1VulnerableVulnerable
Debian sid9.1.4-1FixedFixed
Rocky, Alma, RHEL 10valkey-8.1.10-2.el10_3 (AppStream)VulnerableVulnerable
Rocky, Alma, RHEL 9valkey-8.1.10-1.el9_9 (AppStream)VulnerableVulnerable
Fedora 459.1.3-1.fc45 stable, 9.1.4-1.fc45 updates-testingFixedFixed in updates-testing
Fedora 449.0.7-1.fc44 stable, 9.0.8-1.fc44 updates-testingFixedFixed in updates-testing
Alpine 3.23, 3.249.0.7-r0FixedVulnerable
Alpine 3.228.1.11-r0FixedVulnerable
Alpine 3.217.2.15-r0FixedVulnerable
Alpine edge9.1.3-r0FixedVulnerable
Valkey package status per distro, read from each repository on 20 November 2026

EPEL is a dead end for this one. On EL 9 and EL 10, Valkey moved into AppStream and EPEL no longer carries it, so enabling EPEL changes nothing; only EPEL 8 has an 8.0.13 build, still in testing. To see what your own repositories offer, ask the package manager for the candidate version instead of trusting a release table:

apt-cache policy valkey-server
dnf repoquery --qf "%{name}-%{evr} %{repoid}" valkey
apk policy valkey

Our package survey across the Alpine branches, Ubuntu 24.04 and the two Debian suites that are not in the table above came back like this:

alpine:3.24                9.0.7-r0
alpine:3.23                9.0.7-r0
alpine:3.22                8.1.11-r0
alpine:3.21                7.2.15-r0
alpine:edge                9.1.3-r0
ubuntu:24.04               7.2.14+dfsg1-0ubuntu0.1
debian:sid                 9.1.4-1
debian:bookworm-backports  8.0.1+dfsg1-1~bpo12+1

Alpine picked up the October point releases on every branch, but at the time of writing apk upgrade stops one release short of the November fix.

Valkey package versions in Alpine 3.21 to edge, Ubuntu 24.04, Debian sid and bookworm-backports

The sections below go through each family in turn, starting with the distros that have no fixed package at all.

Ubuntu 26.04 and 24.04

The newest Valkey package in Ubuntu 26.04 LTS is 9.0.6 (the 26.10 series carries 9.1.2, also vulnerable), and its changelog lists other CVEs, not these two. Running apt upgrade will not help yet:

valkey-server:
  Installed: 9.0.6-0ubuntu0.1
  Candidate: 9.0.6-0ubuntu0.1
  Version table:
 *** 9.0.6-0ubuntu0.1 500 (phased 90%)
        500 http://europe-west1.gce.archive.ubuntu.com/ubuntu resolute-updates/main amd64v3 Packages
        100 /var/lib/dpkg/status
     9.0.4-0ubuntu0.2 500
        500 http://security.ubuntu.com/ubuntu resolute-security/main amd64v3 Packages
     9.0.3-0ubuntu2 500
        500 http://europe-west1.gce.archive.ubuntu.com/ubuntu resolute/main amd64v3 Packages

Note that the security pocket is a step behind updates: if your servers only pull from resolute-security, as unattended-upgrades does by default, you’re on 9.0.4. Until Ubuntu ships a fixed build, you have two tested routes:

  • The server runs with maxmemory-clients 0 and an ACL that denies scripting to untrusted users, as shown further down.
  • The workload moves to the fixed valkey/valkey image, with the existing data directory mounted into it.

The first keeps the distro package and its updates, so it is the lighter change for most servers. If you installed from the archive using our Valkey on Ubuntu guide, your data directory and config carry over to a container with a bind mount.

Debian 13

Debian backports security fixes without changing the upstream version, so an 8.1.1 package number tells you nothing on its own. Check the changelog for the advisory IDs:

dpkg-query -W valkey-server
zgrep -c -E "CVE-2026-130822|GHSA-f4q9-j22m-xqq9" /usr/share/doc/valkey-server/changelog.Debian.gz

Our trixie server was current with trixie-security, so this is the best Debian 13 can offer today. It showed:

valkey-server	8.1.1+dfsg1-3+deb13u3
0

A count of 0 means neither fix is in. The deb13u3 upload is dated 24 October, two days before the cluster fix and almost four weeks before the use-after-free fix, so it cannot contain either. When a later deb13u upload lands, the same zgrep will return 1 or more; that’s the line to put in your patch evidence, not the version string. Debian changelogs usually cite CVE numbers, and the cluster bug has none, so cross-check a fixed upload against the Debian security tracker page for valkey before you trust a 0.

Debian 13 valkey-server 8.1.1+dfsg1-3+deb13u3 changelog grep returning 0 for CVE-2026-130822 and GHSA-f4q9-j22m-xqq9

Sid already has 9.1.4-1, but pulling one package from unstable into a stable server drags in newer libraries, so we do not recommend it for production. The Debian path is the same as on Ubuntu for now: mitigate, or run the container.

Rocky Linux, AlmaLinux and RHEL

The Enterprise Linux 10 package comes from AppStream, and its newest changelog entries predate both advisories. You can confirm it on your host with:

rpm -q valkey
rpm -q --changelog valkey | head -6
sudo dnf -q updateinfo list --cve CVE-2026-130822

Our Rocky Linux 10 server returned the following, and the updateinfo query printed nothing at all:

valkey-8.1.10-2.el10_3.x86_64
* Thu Oct 15 2026 Petr Khartskhaev <[email protected]> - 8.1.10-2
- Backport dual certificates functionality and unit tests

* Wed Sep 02 2026 Petr Khartskhaev <[email protected]> - 8.1.10-1
- Rebase to 8.1.10 for CVE-2026-56684 CVE-2026-63639 (CVE-2026-66373 in redis)

An empty updateinfo result means no errata names the CVE yet, so there is nothing for dnf upgrade to pick up. When Red Hat ships the fix, that query will list an advisory ID, and the rebuilds follow shortly after. The same applies to the 8.1.10-1.el9_9 package on EL 9. Readers who followed our Rocky Linux and AlmaLinux Valkey install are on this package.

Rocky Linux 10 AppStream valkey 8.1.10-2.el10_3 with no updateinfo entry for CVE-2026-130822

Keep that updateinfo command in your patch runbook, because it answers the question faster than reading the changelog. It also catches the case where Red Hat backports the fix into an 8.1.10 build without changing the version, which the version check alone would miss.

How do you patch Valkey on Fedora?

Fedora is the only stable distro we tested where a single command gets you a fixed build. The packages sit in updates-testing until they gather karma, so enable that repository for this one package only:

sudo dnf upgrade --enablerepo=updates-testing valkey

On Fedora 45 it replaced 9.1.3 with 9.1.4, along with the valkey-rdma module package:

Package                  Arch   Version        Repository           Size
Upgrading:
 valkey                  x86_64 0:9.1.4-1.fc45 updates-testing   6.6 MiB
   replacing valkey      x86_64 0:9.1.3-1.fc45 updates           6.6 MiB
 valkey-rdma             x86_64 0:9.1.4-1.fc45 updates-testing  88.1 KiB
   replacing valkey-rdma x86_64 0:9.1.3-1.fc45 updates          88.1 KiB

Transaction Summary:
 Upgrading:          2 packages
 Replacing:          2 packages
...
Complete!

On Fedora 44 the same command offers 9.0.8-1.fc44; we confirmed it in the repository but ran the upgrade only on Fedora 45. The package restarted the service for us, so plan the upgrade for a window where a few seconds of reconnects are acceptable.

Fedora 45 dnf upgrade from updates-testing moving valkey 9.1.3 to the fixed 9.1.4 build

Check the running process and the package changelog straight after. The process matters more than the package, so read INFO server rather than stopping at rpm -q:

rpm -q valkey
valkey-cli INFO server | grep -E "valkey_version|uptime_in_seconds"
rpm -q --changelog valkey | head -3

An uptime of 9 seconds confirms the old process is gone, which matters more than the package version. A package upgrade that does not restart the daemon leaves the vulnerable code running:

valkey-9.1.4-1.fc45.x86_64
valkey_version:9.1.4
uptime_in_seconds:9
* Thu Nov 19 2026 Remi Collet <[email protected]> - 9.1.4-1
- Valkey 9.1.4 - Released Wed 18 November 2026
- Upgrade urgency SECURITY: This release includes security fixes

Once the update reaches the stable repository, a plain sudo dnf upgrade valkey does the same job and you can drop the --enablerepo flag.

How do you update the valkey/valkey Docker image?

The official image is the quickest route to a fixed build on any distro, because every floating tag already points at a November release. This loop prints what each tag resolves to:

for t in latest 9 9.1 9.0 8 8.1 8.0 7.2 9.0-alpine 8.1-alpine 7.2-alpine; do printf "%-12s " $t; docker run --rm valkey/valkey:$t valkey-server --version | grep -o "v=[0-9.]*"; done

Each tag landed on the fixed build for its branch, and the Alpine variants match the Debian-based ones. That means you can stay on the image flavour you already run:

latest       v=9.2.0
9            v=9.2.0
9.1          v=9.1.4
9.0          v=9.0.8
8            v=8.1.12
8.1          v=8.1.12
8.0          v=8.0.13
7.2          v=7.2.16
9.0-alpine   v=9.0.8
8.1-alpine   v=8.1.12
7.2-alpine   v=7.2.16

Floating tags only help if you pull them. A container started weeks ago from valkey/valkey:9.0 still runs the old image until you pull and recreate it, and a pinned tag such as 9.0.7 never moves at all.

valkey/valkey Docker image tags resolving to fixed versions 9.2.0, 9.1.4, 9.0.8, 8.1.12, 8.0.13 and 7.2.16

Our test container was pinned to 9.0.7, which has the cluster fix but not CVE-2026-130822. We pinned the replacement to an exact patch tag so the next deploy can’t silently move it, then recreated the container on the same port mapping:

docker pull valkey/valkey:9.0.8
docker rm -f valkey
docker run -d --name valkey -p 127.0.0.1:6380:6379 valkey/valkey:9.0.8
docker exec valkey valkey-cli INFO server | grep -E "valkey_version|uptime_in_seconds"

Add your own volume and config flags to the run line; without a volume the dataset in the old container is lost with rm -f. The new container reported the fixed build:

valkey_version:9.0.8
uptime_in_seconds:3

With Compose, change the tag in the file and run docker compose pull followed by docker compose up -d. Our Redis and Valkey container guide covers the volume layout that keeps data across a recreate.

Replacing a valkey/valkey:9.0.7 container with the fixed 9.0.8 image and checking valkey_version

For a Kubernetes StatefulSet or Helm release the same rule applies: bump the image tag and let the pods roll one at a time, checking valkey_version on each before moving to the next.

How do you mitigate CVE-2026-130822 without upgrading?

Set maxmemory-clients to 0. The Valkey advisory states that servers with client eviction off are not affected, and 0 is the default, so this only matters if you or a tuning guide turned it on. The Valkey documentation recommends a non-zero value for large production deployments, which is exactly how busy servers end up exposed. To mimic one, we set 5% on our Debian 13 server first, then switched it off:

valkey-cli CONFIG GET maxmemory-clients
valkey-cli CONFIG SET maxmemory-clients 0
valkey-cli CONFIG REWRITE
sudo grep -n "^maxmemory-clients" /etc/valkey/valkey.conf

CONFIG SET takes effect at once, and CONFIG REWRITE writes it to disk so a restart does not bring eviction back:

maxmemory-clients
5%
OK
OK
2535:maxmemory-clients 0

Switching eviction off removes a safety net, so keep the other limits on client memory. The default client-output-buffer-limit still disconnects slow replicas and Pub/Sub subscribers (pubsub 33554432 8388608 60), and maxmemory still caps the dataset. If you rely on eviction to survive connection storms, upgrade instead of mitigating.

Setting maxmemory-clients 0 with CONFIG SET and CONFIG REWRITE to switch off Valkey client eviction

The second option in the advisory is an ACL that stops untrusted users from running blocking commands or writing to keys that others block on. That condition is wider than it looks: the blocked clients don’t have to be the attacker’s own, so an untrusted user who can push to any key your workers BLPOP on can still trigger the crash, even without blocking commands. If you can’t keep untrusted users off every key that any client blocks on, maxmemory-clients 0 is the only reliable mitigation.

How do you mitigate the cluster publish heap overflow?

Take scripting away from every user that does not need it, and leave proto-max-bulk-len at its 512 MB default. The oversized message has to be assembled inside the server, and Lua scripts and functions are the way to do that, so a user without EVAL, EVALSHA, FCALL or FUNCTION can’t reach the bug. The limit applies per argument and the channel and message only need to pass 4 GiB together, so the advisory’s advice is simply not to raise proto-max-bulk-len above its default.

Firewalling the cluster bus port is good hygiene, but it does not fix this. The undersized buffer is allocated on the node that receives the PUBLISH from the client, before anything goes out on port 16379, so an attacker only needs the normal client port. Keep the bus on a private network anyway, but put the effort into ACLs.

Architecture diagram of where the Valkey cluster publish overflow happens: client PUBLISH on 6379 to node A, cluster bus 16379 to nodes B and C

The diagram shows why: by the time anything crosses the bus, node A has already written past its buffer. On an unpatched cluster node, these are the controls to have in place:

  • Every non-admin user carries -@scripting in its ACL rule.
  • The proto-max-bulk-len setting still returns 536870912.
  • Each user can publish only to its own channel pattern, such as &app:*.
  • The cluster bus port is reachable only from the other cluster nodes.

The first two close the path the advisory describes, and the last two limit the damage if a password leaks. These two ACL categories hold every command the advisories name:

valkey-cli ACL CAT scripting
valkey-cli ACL CAT blocking

On 8.1.1 the categories expand to these commands. Note that blocking includes xread and xreadgroup as whole commands, so denying it also stops non-blocking stream reads, plus WAIT and WAITAOF:

fcall
evalsha
fcall_ro
function|dump
function|flush
function|list
function|load
function|stats
function|delete
function|help
function|kill
function|restore
eval
eval_ro
evalsha_ro
script|debug
script|exists
script|flush
script|help
script|kill
script|load
script|show
wait
bzpopmin
waitaof
bzmpop
brpoplpush
bzpopmax
xreadgroup
blmove
blpop
xread
brpop
blmpop

Application users that consume queues with BLPOP or streams with XREADGROUP need those commands back. For them, restrict the key pattern instead so they can only write to their own prefix, and keep untrusted users off the shared queue keys.

Create a restricted ACL user

An ACL file keeps users out of valkey.conf and is easy to review. Open a new file:

sudo vim /etc/valkey/users.acl

Add an admin password for the default user and an application user limited to app:* keys and channels, with scripting, blocking, admin and dangerous commands removed. Change both passwords:

user default on >Admin-Pass-Change-Me ~* &* +@all
user app on >App-Pass-Change-Me ~app:* &app:* +@all -@scripting -@blocking -@admin -@dangerous

Give the file to the service user, then uncomment the aclfile /etc/valkey/users.acl line in /etc/valkey/valkey.conf (line 1160 in the stock Debian file). Valkey reads the file as its own user, so a root-only file stops the service from starting:

sudo chown valkey:valkey /etc/valkey/users.acl
sudo chmod 640 /etc/valkey/users.acl
sudo vim /etc/valkey/valkey.conf

Before you restart, run sudo grep -n "^user " /etc/valkey/valkey.conf. We skipped that check and our sudo systemctl restart valkey-server failed, because the earlier CONFIG REWRITE had also written the default user into valkey.conf, and Valkey refuses to start when users are defined in both places:

Job for valkey-server.service failed because the control process exited with error code.
See "systemctl status valkey-server.service" and "journalctl -xeu valkey-server.service" for details.

2215:M 20 Nov 2026 19:47:04.369 # Configuring Valkey with users defined in valkey.conf and at the same setting an ACL file path is invalid. This setup is very likely to lead to configuration errors and security holes, please define either an ACL file or declare users directly in your valkey.conf, but not both.

2541:user default on nopass sanitize-payload ~* &* +@all

The last line came from sudo grep -n "^user " /etc/valkey/valkey.conf, and it is the user line that CONFIG REWRITE added. Any server where someone has ever run CONFIG REWRITE will hit this, so check for that line before you restart a production node.

Valkey refusing to start with aclfile set after CONFIG REWRITE added a user default line to valkey.conf

Delete the rewritten user line and start the service again. The reset-failed call clears the systemd start limit, because a few failed restarts in a row make systemd refuse the next one:

sudo sed -i "/^user default on nopass/d" /etc/valkey/valkey.conf
sudo systemctl reset-failed valkey-server && sudo systemctl restart valkey-server
systemctl is-active valkey-server

The service came back active. Now test the restricted user before you hand its password to an application, because a typo in the ACL file shows up here and not at startup. A variable keeps each line short:

VK="valkey-cli --user app --pass App-Pass-Change-Me --no-auth-warning"
$VK SET app:session:42 ok
$VK PUBLISH app:events hello
$VK EVAL "return 1" 0
$VK FUNCTION LIST
$VK BLPOP app:queue 1
$VK PUBLISH news hello

Writes and publishes inside the app: namespace work, while scripting, blocking pops and channels outside the namespace are refused. The 0 after the publish is just the subscriber count:

OK
0
NOPERM User app has no permissions to run the 'eval' command
NOPERM User app has no permissions to run the 'function|list' command
NOPERM User app has no permissions to run the 'blpop' command
NOPERM No permissions to access a channel

That user cannot reach the cluster overflow. It can still write to app:* keys, so if your workers block on those keys under another user, keep maxmemory-clients at 0 as well. Remember that the default user still has +@all, so its password is now the one secret that matters; keep it out of application configs.

Valkey ACL user denied EVAL, FUNCTION, BLPOP and an out-of-scope Pub/Sub channel with NOPERM errors

Our Valkey on Debian guide covers the rest of the hardening: bind addresses, TLS and protected mode.

Does Redis have the same vulnerabilities?

Redis has not published an advisory for either bug. The newest entries in the redis/redis security advisories list are dated 5 May 2026. That is not proof Redis is safe, and we did not test it.

What the source shows is mixed. Valkey forked from Redis 7.2.4, and the code paths involved exist in both. The current Redis cluster_legacy.c builds the cluster publish message the same way the unpatched Valkey code did: it adds the channel and message lengths into a 64-bit total and passes it to a function that takes a 32-bit length. Redis has neither confirmed nor patched that path. Redis also has maxmemory-clients, off by default, and in May it fixed a different client eviction use-after-free in the unblock path, CVE-2026-23479, so make sure you are on that patch first. If you run Redis, the same controls cost little and cover both code paths until Redis says otherwise:

  • The maxmemory-clients setting stays at 0 unless you truly need client eviction.
  • Untrusted users have no scripting commands in their ACL.
  • Someone on the team watches the Redis advisory page for a matching fix.

None of these needs a restart, so there is no reason to wait for a verdict from Redis. Our Valkey vs Redis migration guide covers what else differs between the two.

What should you check before you close the ticket?

A patch ticket for these two bugs is done when every Valkey process, not just every package, is on a fixed build or behind both mitigations. Work through these on each node:

  1. valkey-cli INFO server shows a valkey_version of 9.2.0, 9.1.4, 9.0.8, 8.1.12, 8.0.13 or 7.2.16 or later on its branch.
  2. uptime_in_seconds is lower than the time since you installed the package, so the old process is gone.
  3. Every container runs a freshly pulled image, and none is pinned to an October or older patch tag.
  4. On unpatched hosts, CONFIG GET maxmemory-clients returns 0 and valkey.conf says the same.
  5. On unpatched cluster nodes, ACL LIST shows -@scripting for every non-admin user, and CONFIG GET proto-max-bulk-len still returns the 512 MB default, 536870912.
  6. Your scanner keys on valkey_version and the GHSA IDs, not on redis_version or the CVE number alone.

Leave the mitigations in place on Ubuntu, Debian and Enterprise Linux hosts until a distro build with both fixes arrives, then rerun the version checks above. For the longer run, our Valkey monitoring setup with Prometheus and Grafana puts every instance on one dashboard, which makes a forgotten node much harder to miss.

Keep reading

Java4Shell (CVE-2026-114938): Find and Patch Vulnerable JVMs Security Java4Shell (CVE-2026-114938): Find and Patch Vulnerable JVMs UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 Security UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 nginx HTTP/2 RCE CVE-2026-123007: Check, Disable HTTP/2, Patch Security nginx HTTP/2 RCE CVE-2026-123007: Check, Disable HTTP/2, Patch MariaDB 13.1 New Features Tested: DENY, JSON Arrows, utf8mb4 Databases MariaDB 13.1 New Features Tested: DENY, JSON Arrows, utf8mb4 agent-framework PyPI Malware: Check 1.26.1/1.26.2 and Rotate Keys AI agent-framework PyPI Malware: Check 1.26.1/1.26.2 and Rotate Keys Install Nessus Vulnerability Scanner on Debian 11/10/9 Debian Install Nessus Vulnerability Scanner on Debian 11/10/9

Leave a Comment

Press ESC to close