Valkey Lua script debugger use-after-free
CVE-2026-136155
Logged-in users of a data server can crash it or take it over.
- CVE
- CVE-2026-136155 (opens in a new tab)
- Score
- CVSS 8.8
- Public date
- 2026-08-31
- First seen
Mitigation
Update to Valkey 9.1.2 or later. Until then, if you do not use the debugger, restrict the SCRIPT command, especially SCRIPT DEBUG, with ACLs.
Can't update yet?
Add this line to the config file:
Use Valkey ACLs to restrict the SCRIPT command, in particular SCRIPT DEBUG, if your application does not use the script debugger.
A wrong setting can stop the service or lock you out. Check the source links below first.
Summary
A use-after-free in the Lua script debugger of Valkey 9.1.0 and 9.1.1 lets an authenticated user crash the server or possibly run code remotely. Valkey 8.0.x and 8.1.x are not affected.
Affected when
- Valkey 9.1.0 or later, before 9.1.2
- Application does not use the script debugger
3 other Incidents of this product in the last 30 days
Incidents by product: Valkey
Other recent Incidents of Valkey
Distribution packages (3) (every link below opens in a new tab)
- Debian 13 (trixie)valkey · not fixed yet
- RHEL 10valkey · not affected
- RHEL 9valkey · not affected
Sources: Debian Security Tracker · Red Hat Security Data (CC BY 4.0)
Read the CVE record · cve.org (opens in a new tab)
- CVE record: cve.org (opens in a new tab)