A user with authentication and permission to run JSON mutation commands can reliably crash the server. The vendor says researchers also developed the flaw into remote code execution with the server process privileges.The issue matters when the JSON module is loaded, including through valkey-bundle. A server without the module loaded is unaffected. The vendor released Valkey JSON 1.0.3 as the fixed version.
What it allows
How Does CVE-2026-136158 Cause a Use-After-Free?
The Valkey advisory says recursive JSONPath matching can place an array and its descendants in the same result set. Selected mutation commands process the parent first. Resizing the parent can release storage while later matches still reference it. The module then writes through those stale references.
The affected commands are JSON.ARRAPPEND, JSON.ARRINSERT, JSON.ARRPOP, JSON.ARRTRIM and JSON.CLEAR. According to the vendor, this produces a reliable server crash. Researchers developed an execution chain on an official valkey-bundle image, running code with the server account privileges.
Which Deployments Face the Greatest Risk?
Authentication and JSON mutation permissions are required. Applications that pass user-controlled recursive JSONPath expressions to these commands are especially exposed, according to Valkey. Our defensive priority is to identify those application paths before the patch window. The CVE record scores the network attack with low privileges and no user interaction.
Use a Vulnerability Intelligence platform to organize affected deployments and patch priority. Compare this distinct issue with the Valkey cluster publish vulnerability when reviewing a broader Valkey inventory. The 24 November 2026 CISA KEV catalog snapshot did not list this CVE.
Who is affected
Version Check
| Release Line | Affected Range | Fixed In |
|---|---|---|
| 1.0.x | 1.0.0 to before 1.0.3 | 1.0.3 |
For distribution packages and custom builds, check the supplier’s advisory.
Check the loaded JSON module version. For valkey-bundle, verify which module version the running bundle includes.
Which Valkey JSON Versions Need an Update?
The vendor description and CVE record identify Valkey JSON 1.0.0, 1.0.1 and 1.0.2 as affected. Version 1.0.3 is the fixed release. The same exposure applies to valkey-bundle distributions that ship and load an affected JSON module. Check the loaded module and its running version, not only the server package name.
Valkey recommends restricting the five affected mutation commands through ACLs when applications do not require them. Confining application-supplied paths to non-recursive expressions also avoids this defect. These measures reduce exposure during an upgrade but do not replace the fix. Track the change through a patch management process.
Timeline
-
2026-08-31
Valkey JSON advisory became public, according to its advisory date.
-
2026-11-24
The CVE record for CVE-2026-136158 was published.
What to do
-
Inventory loaded JSON modules
Identify Valkey and valkey-bundle servers with the JSON module loaded. Record the module version and which accounts can run JSON mutation commands.
-
Upgrade the affected module
Install Valkey JSON 1.0.3 or later. For valkey-bundle, choose a release that ships the fixed module and follow the vendor deployment procedure.
-
Verify the running version
After deployment, confirm the loaded JSON module reports 1.0.3 or later on each server. Recheck bundle packaging and restart status where applicable.
-
Restrict unnecessary mutation access
Use Valkey ACLs to remove unneeded access to JSON.ARRAPPEND, JSON.ARRINSERT, JSON.ARRPOP, JSON.ARRTRIM and JSON.CLEAR during the patch window.
-
Review service health and access
Review unexpected server restarts and authenticated use of affected JSON commands. Investigate anomalies with surrounding evidence; they do not alone establish exploitation of this CVE.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-136158 in Brandefense Atlas
The Atlas record of CVE-2026-136158: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
Does CVE-2026-136158 require authentication?
Yes. The vendor says an authenticated user needs permission to run affected Valkey JSON mutation commands. Applications passing user-controlled recursive paths are especially exposed.
Is a Valkey server without the JSON module affected?
No. The vendor says a server that does not load Valkey JSON is unaffected, including when valkey-bundle is installed without loading that module.
Which version fixes CVE-2026-136158?
Valkey JSON 1.0.3 fixes the issue. For valkey-bundle, verify that the running bundle includes the fixed JSON module.
Does the advisory describe a real-world intrusion?
The advisory describes reliable crashes and researcher-developed code execution. It does not present an incident investigation or an affected customer.