Vulnerability

CVE-2026-136158

highCVSS 3.1 8.8Published 24 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /valkey-io/valkey-json/pull/118
  • github.com /valkey-io/valkey-json/pull/120
  • github.com /valkey-io/valkey-json/security/advisories/GHSA-q7rf-74qm-h…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning