CVE-2026-136158
Last modified
CVE-2026-136158 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. In Valkey JSON 1.0.0 through 1.0.2, a recursive JSONPath expression such as $..* returns both an array and elements nested inside it. The size-changing mutators (JSON.ARRAPPEND, JSON.ARRINSERT, JSON.ARRPOP, JSON.ARRTRIM and JSON.CLEAR) process the ancestor first, which can reallocate its element buffer and free the old storage while the descendant entries in the result set still point into it; the module then writes through those dangling pointers.
Description
In Valkey JSON 1.0.0 through 1.0.2, a recursive JSONPath expression such as $..* returns both an array and elements nested inside it. The size-changing mutators (JSON.ARRAPPEND, JSON.ARRINSERT, JSON.ARRPOP, JSON.ARRTRIM and JSON.CLEAR) process the ancestor first, which can reallocate its element buffer and free the old storage while the descendant entries in the result set still point into it; the module then writes through those dangling pointers. An authenticated user who can run these commands can use this to reliably crash the server, and it has been developed into remote code execution as the user the server runs as. Servers that do not load the JSON module, including through valkey-bundle, are not affected.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Valkey | Valkey JSON | >= 1.0.0, < 1.0.3 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-136158?
How severe is CVE-2026-136158?
How do I fix CVE-2026-136158?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-136146A security flaw has been discovered in vanna-ai vanna 2.0.0/…5.3
- CVE-2026-136147A weakness has been identified in DWS Antik Browser 1.17.0. …6.3
- CVE-2026-136152Prevent Direct Access – Protect WordPress Files plugin befor…5.3
- CVE-2026-136155In Valkey 9.1.0 and 9.1.1, the Lua script debugger builds it…8.8
- CVE-2026-136156In Valkey before 7.2.15, 8.0.x before 8.0.12, 8.1.x before 8…8.8
- CVE-2026-136157In Valkey 8.0.x before 8.0.11, 8.1.x before 8.1.10, 9.0.x be…7.5
- CVE-2026-136159TypiCMS Core before 17.0.46 contains an insufficiently prote…8.8
- CVE-2026-136160Pyro through 1.9.2 contains an insecure deserialization vuln…7.8
- CVE-2026-136165Fider before 0.40.0 contains an account takeover vulnerabili…7.4
- CVE-2026-136166Wallabag from 2.0.0-beta.1 before 2.6.16 contains a missing …5.4
- CVE-2026-136167vedo through 2026.6.3 contains an insecure deserialization v…7.8
- CVE-2026-136168RedVector before 8.1.0 contains a hard-coded credentials vul…8.8
Are you affected by CVE-2026-136158?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
