๐Ÿ” CVE Alert

CVE-2026-136158

HIGH 8.8

Valkey JSON: Use-after-free in array mutation commands through a recursive JSONPath

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-416
Vendor valkey
Product valkey json
Published Nov 24, 2026
Stay Ahead of the Next One

Get instant alerts for valkey valkey json

Be the first to know when new high vulnerabilities affecting valkey valkey json are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

Valkey / Valkey JSON
1.0.0 < 1.0.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/valkey-io/valkey-json/security/advisories/GHSA-q7rf-74qm-hr9g github.com: https://github.com/valkey-io/valkey-json/pull/118 github.com: https://github.com/valkey-io/valkey-json/pull/120

Credits

Joao Teles Pham Huong Giang Troy Coll of Heroku Data Services (Salesforce) zackcam