Arbitrary Code Injection Affecting redis/redis package, versions [,8.2.2)


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.01% (2nd 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 Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-REDISREDIS-13332696
  • published6 Oct 2025
  • disclosed3 Oct 2025
  • creditzhutyra

Introduced: 3 Oct 2025

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

How to fix?

Upgrade redis/redis to version 8.2.2 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