Valkey 8.1.11stable Released Oct 26, 2026
Impact Score: 6/10

Valkey 8.1.11 - Release Notes & Engineering Impact

Source available - automated, not human-reviewed

Component: valkey · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-16.

Compatibility not verified - check source notes
📄 .MD
⚡ Executive Summary (TL;DR)

Valkey 8.1.11 is an urgent security patch fixing an RCE vulnerability in cluster Pub/Sub message construction (GHSA-f4q9-j22m-xqq9). It also addresses multiple server crash scenarios, stream tracking invalidation bugs, and cluster config saving issues on SMB filesystems.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Developers using stream commands, sorted sets, or C module APIs should review fixes related to client-side tracking invalidations, payload validation, and function return types.

📊 Product & Engineering Leads

This security and reliability release protects existing deployments from potential exploits and crashes without introducing new features.

⚙️ DevOps & Security

DevOps teams should deploy this patch urgently to address the cluster Pub/Sub security vulnerability and fix cluster config lock issues on Azure Files and SMB shares.

⚡ Performance & Enhancements (2)

  • Redact error reply text in server logs when hide-user-data-from-log is enabled
  • Separate cluster config file lock into nodes.conf.lock to resolve save failures on SMB filesystems like Azure Files

🔧 Bug Fixes & Patches (11)

  • Fix heap buffer overflow in cluster Pub/Sub message construction allowing potential arbitrary code execution by authenticated clients (GHSA-f4q9-j22m-xqq9)
  • Fix stream commands (XGROUP, XSETID, XREADGROUP, XACK, XCLAIM, XAUTOCLAIM) not triggering WATCH and client-side tracking invalidation
  • Fix server crash when module timer callbacks or thread-safe contexts attempt writes while writes are paused by CLIENT PAUSE WRITE or CLUSTER FAILOVER
  • Fix server abort on RESTORE payload declaring a string length that overflows allocation size
  • Fix ZINTER and ZINTERSTORE returning input-order-dependent scores when a weighted term is 0*inf
  • Correct ValkeyModule_FreeModuleUser, ValkeyModule_ACLAddLogEntry, and ValkeyModule_ACLAddLogEntryByUserName declarations to return int
  • Fix huge memory allocation when commands like COMMAND GETKEYS EVAL declare far larger key counts than provided arguments
  • Reject overflowing relative expire times in SET/GETEX, RESTORE, and module SetExpire API to prevent negative expire times and server aborts
  • Fix server crash when loading an ACL file containing a selector with an unmatched parenthesis
  • Fix sorted set range commands with a negative LIMIT offset returning wrong elements on btree-encoded keys
  • Fix LSET on 64-bit builds silently modifying wrong elements for out-of-range indexes

❓ Frequently Asked Questions

Does Valkey 8.1.11 contain breaking changes?

No explicitly documented breaking changes are present, though invalid payloads and overflowing relative expire times that previously caused crashes or undefined behavior are now rejected.

What is the primary highlight of 8.1.11?

The primary highlight is a security fix for GHSA-f4q9-j22m-xqq9, which resolves a heap buffer overflow in cluster Pub/Sub message handling that allowed potential arbitrary code execution by authenticated clients.

How should teams prepare to upgrade to 8.1.11?

Teams should apply this patch as soon as possible due to the recommended security urgency, verifying cluster node storage configurations and stream tracking invalidation behavior.

📄 View Raw Release Notes (Original Developer Log)
Valkey 8.1.11 - Released Mon 26 October 2026 ---------------------------------------------- Upgrade urgency SECURITY: This release includes security fixes we recommend you apply as soon as possible. ### Security Fixes * GHSA-f4q9-j22m-xqq9: Fix a heap buffer overflow in cluster Pub/Sub message construction that could allow an authenticated client to potentially execute arbitrary code by publishing an oversized message by @roshkhatri (#5030) ### Bug Fixes * Fix stream commands that mutate consumer-group or PEL state (`XGROUP`, `XSETID`, `XREADGROUP`, `XACK`, `XCLAIM`, `XAUTOCLAIM`) not triggering `WATCH` and client-side tracking invalidation by @Tarte12 (#3459) * Fix a server crash when module timer callbacks or thread-safe contexts attempt writes while writes are paused by `CLIENT PAUSE WRITE` or `CLUSTER FAILOVER`; such module writes are now rejected by @smkher (#3645) * Fix a server abort on a RESTORE payload declaring a string length that overflows the allocation size; such payloads are now rejected as bad data by @enjoy-binbin (#4733) * Fix ZINTER/ZINTERSTORE returning input-order-dependent scores when a weighted term is 0*inf; a NaN weighted score now counts as 0, matching ZUNION by @leomurillo (#4997) * Correct `ValkeyModule_FreeModuleUser`, `ValkeyModule_ACLAddLogEntry` and `ValkeyModule_ACLAddLogEntryByUserName` declarations to return int as implemented, fixing undefined behavior on targets with strict call signature checks by @rainsupreme (#4676) * Fix a huge memory allocation when a command such as COMMAND GETKEYS EVAL declares a far larger key count than the arguments provided by @murphyjacob4 (#3598) * Reject relative expire times in `SET`/`GETEX`, `RESTORE`, and the module `SetExpire` API that overflow when the current time is added, preventing negative expires that abort the server by @madolson (#4880) * Fix a server crash when loading an ACL file containing a selector with an unmatched parenthesis by @magic-peach (#4214) * Fix sorted set range commands with a negative LIMIT offset returning a wrong element on btree-encoded keys; negative offsets now return an empty result in both encodings by @xiaocj (#4637) * Redact error reply text in server logs when `hide-user-data-from-log` is enabled, so keys and values no longer leak into logs via error messages by @zackcam (#4815) * Fix cluster config saving to avoid publishing truncated `nodes.conf` files, losing the startup lock after the first save, and failing every save on SMB filesystems such as Azure Files; the lock now lives on a separate `nodes.conf.lock` file by @KewangZhili (#4489) * Fix `LSET` on 64-bit builds silently modifying the wrong element for out-of-range indexes instead of returning an index out of range error by @charsyam (#4823) **Full Changelog**: https://github.com/valkey-io/valkey/compare/8.1.10...8.1.11