Arbitrary Code Injection Affecting valkey-io/valkey package, versions [,7.2.11)[8.0.0-rc1,8.0.6)[8.1.0-rc1,8.1.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.7% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-VALKEYIOVALKEY-15036202
  • published19 Jan 2026
  • disclosed3 Oct 2025
  • creditzhutyra

Introduced: 3 Oct 2025

CVE-2025-46818  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade valkey-io/valkey to version 7.2.11, 8.0.6, 8.1.4 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection. An attacker can execute arbitrary code in the context of another user by crafting a malicious Lua script and leveraging authenticated access with scripting rights, combined with high-complexity steps and typically requiring another user's interaction for cross-context execution.

Note:

This is only exploitable if the attacker has authenticated access with scripting rights and can trigger a specific Lua code path, often requiring another user's action.

CVSS Base Scores

version 4.0
version 3.1