Skip to content
High 8.8

Valkey JSONに認証済みユーザーからリモートでコードを実行される脆弱性

CVE-2026-136158 First seen on SecPulse

Summary

Valkey JSON 1.0.0から1.0.2には、再帰的なJSONPathを使った配列操作で解放済みメモリを書き換えてしまう脆弱性があります。認証済みのユーザーがサーバーを確実にクラッシュさせられるほか、サーバーの実行権限でリモートからコードを実行される可能性も報告されています。修正版の1.0.3で対処できるため、速やかに更新してください。JSONモジュールを読み込まないサーバーは影響を受けません。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Valkey JSON 1.0.0から1.0.2には、再帰的なJSONPathを使った配列操作で解放済みメモリを書き換えてしまう脆弱性があります。認証済みのユーザーがサーバーを確実にクラッシュさせられるほか、サーバーの実行権限でリモートからコードを実行される可能性も報告されています。修正版の1.0.3で対処できるため、速やかに更新してください。JSONモジュールを読み込まないサーバーは影響を受けません。

Affected packages

PackageAffected → Fixed
ValkeyValkey JSON
≥ 1.0.0, < 1.0.3→ 1.0.3
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details