Redis < 6.2.20 / 7.0.x < 7.2.11 / 7.4.x < 7.4.6 / 8.0.x < 8.0.4 / 8.2.x < 8.2.2 RCE (RediShell)

critical Nessus Plugin ID 339370

Synopsis

A database server running on the remote host is affected by a remote code execution vulnerability.

Description

The version of Redis installed on the remote host is prior to 6.2.20, 7.0.x prior to 7.2.11, 7.4.x prior to 7.4.6, 8.0.x prior to 8.0.4, or 8.2.x prior to 8.2.2. It is, therefore, affected by a vulnerability as referenced in the security advisory.

- A use-after-free vulnerability in the Lua scripting engine. An authenticated user can use a specially crafted Lua script to manipulate the garbage collector, trigger a use-after-free, and potentially achieve remote code execution. (CVE-2025-49844)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Redis version 6.2.20 / 7.2.11 / 7.4.6 / 8.0.4 / 8.2.2 or later.

See Also

https://redis.io/blog/security-advisory-cve-2025-49844/

http://www.nessus.org/u?6002afb9

Plugin Details

Severity: Critical

ID: 339370

File Name: redis_cve-2025-49844.nasl

Version: 1.1

Type: Combined

Agent: unix

Family: Misc.

Published: 8/25/2026

Updated: 8/25/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 8

Percentile: 99.69

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2025-49844

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CVSS Score Source: CVE-2025-49844

Vulnerability Information

CPE: cpe:/a:redis:redis

Required KB Items: installed_sw/Redis Server

Patch Publication Date: 10/3/2025

Vulnerability Publication Date: 10/3/2025

Reference Information

CVE: CVE-2025-49844

CWE: 416