VDB

CVE-2025-46818

CVE-2025-46818 PUBLISHED CVSS 6 MEDIUM

Redis: Authenticated users can execute LUA scripts as a different user

Reported by github_m · Published October 3, 2025

Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted Lua script to manipulate different LUA objects and potentially run their own code in the context of another user. The problem exists in all versions of Redis with LUA scripting. This issue is fixed in version 8.2.2. A workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing LUA scripts. This can be done using ACL to block a script by restricting both the EVAL and FUNCTION command families.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
redisBitnami8.2.2, 8.0.4, 7.4.6, 7.2.11, 6.2.20

Risk scores

CVSS 3.1
6
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N

Affected products

VendorProductVersions
redisredis< 8.2.2
amazon:2023redis6-devel0
amazon:2023valkey0
alpinevalkey0, 0
alpineredict0
amazon:2023redis6-doc0
alpineredis0, 0, 0
amazon:2023valkey-devel0
redisredis0
amazon:2023redis60
chainguardpy3-redis*

Timeline

  • Oct 3, 2025 CVE Published
  • Oct 4, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (105 in total, the first dated here)
  • May 19, 2026 CVE Updated
  • Jun 7, 2026 Coalition ESS Score
  • Aug 10, 2026 Distribution Patch (22 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-46818
vulnetix vdb fixes CVE-2025-46818

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-46818/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›