CVE-2025-46818
Public on
Last Modified:
Description
A code injection vulnerability in Redis Lua scripting where an authenticated user can craft a Lua script to manipulate objects and potentially execute code in another user’s context.
Statement
This rated Moderate as the vulnerability requires authenticated access with scripting rights, high-complexity steps to trigger a specific Lua code path, and typically another user action for cross-context execution. The impact is confined to the Redis process and data, with no availability effect, and can be mitigated via standard ACLs restricting EVAL/FUNCTION or by updating to the fixed release. Unlike “Important” flaws, it is not remotely exploitable without interaction or across trust boundaries.
This flaw exists only in the Redis server implementation;
Redis client libraries (Python, Node.js, Rust, etc.) are not affected by this vulnerability, and it only exists in the Redis server’s embedded Lua engine where scripts execute. Client libraries merely transmit EVAL/EVALSHA to the server.
Mitigation
No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.
To reduce the risk, restricting network access to trusted hosts, enforcing strong authentication and protected-mode, disabling or limiting Lua scripting where possible can be be benificial and apply least-privilege ACLs to reduce who can run scripting commands, keep instances non-public with firewalls/VPCs, and follow Redis hardening guidance to minimize exposure.
Additional Information
- This content is not included.Bugzilla 2401292: Redis: Redis: Authenticated users can execute LUA scripts as a different user
- Content from cwe.mitre.org is not included.CWE-94: Improper Control of Generation of Code ('Code Injection')
- FAQ: Frequently asked questions about CVE-2025-46818
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2025-46818
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2025-46818
Content from github.com is not included.https://github.com/redis/redis/releases/tag/8.2.2
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Logging Subsystem for Red Hat OpenShift | openshift-logging/cluster-logging-operator-bundle | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/cluster-logging-operator-bundle | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/cluster-logging-rhel9-operator | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/cluster-logging-rhel9-operator | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/eventrouter-rhel9 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/eventrouter-rhel9 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/fluentd-rhel9 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/log-file-metric-exporter-rhel9 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/log-file-metric-exporter-rhel9 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-view-plugin-rhel9 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/vector-rhel9 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/vector-rhel9 | Not affected | |
| Red Hat AI Inference Server | rhaiis-preview/vllm-cuda-rhel9 | Not affected | |
| Red Hat AI Inference Server | rhaiis/vllm-cuda-rhel9 | Not affected | |
| Red Hat AI Inference Server | rhaiis/vllm-rocm-rhel9 | Not affected | |
| Red Hat AI Inference Server | rhaiis/vllm-spyre-rhel9 | Not affected | |
| Red Hat AI Inference Server | rhaiis/vllm-tpu-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/de-minimal-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/de-minimal-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/de-supported-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/de-supported-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-minimal-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-minimal-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-supported-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-supported-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/platform-resource-runner-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ansible-dev-tools-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/de-minimal-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/de-minimal-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/de-supported-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/de-supported-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-cloud-services-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-minimal-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-minimal-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-supported-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-supported-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-chatbot-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/platform-resource-runner-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/ansible-dev-tools-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/de-minimal-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/de-supported-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/ee-minimal-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/ee-supported-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/platform-resource-runner-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-tech-preview/ansible-devspaces-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-tech-preview/automation-dashboard-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform/ee-minimal-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform/ee-minimal-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Not affected | |
| Red Hat Connectivity Link 1 | rhcl-1/limitador-rhel9 | Not affected | |
| Red Hat Developer Hub | rhdh/rhdh-hub-rhel9 | Not affected | |
| Red Hat Discovery 1 | discovery/discovery-server-rhel9 | Not affected | |
| Red Hat Discovery 2 | discovery/discovery-server-rhel9 | Not affected | |
| Red Hat Enterprise Linux 10 | valkey | Fixed | RHSA-2025:19675 |
| Red Hat Enterprise Linux 10 | valkey | Fixed | RHSA-2025:21936 |
| Red Hat Enterprise Linux 8 | redis:6 | Fixed | RHSA-2025:19238 |
| Red Hat Enterprise Linux 9 | redis | Fixed | RHSA-2025:19237 |
| Red Hat Enterprise Linux 9 | redis:7 | Fixed | RHSA-2025:19345 |
| Red Hat Enterprise Linux 9 | redis | Fixed | RHSA-2025:20926 |
| Red Hat Enterprise Linux 9 | redis:7 | Fixed | RHSA-2025:20955 |
| Red Hat Enterprise Linux 9 | valkey | Fixed | RHSA-2025:21916 |
| Red Hat Enterprise Linux AI (RHEL AI) | rhelai1/bootc-amd-rhel9 | Not affected | |
| Red Hat Enterprise Linux AI (RHEL AI) | rhelai1/bootc-azure-amd-rhel9 | Not affected | |
| Red Hat Enterprise Linux AI (RHEL AI) | rhelai1/instructlab-amd-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-feature-server-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-llama-stack-core-rhel9 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-ironic-agent-rhel9 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-ironic-rhel9 | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-aodh-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-aodh-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-aodh-evaluator | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-aodh-listener | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-aodh-notifier | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-barbican-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-barbican-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-barbican-keystone-listener | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-barbican-worker | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-ceilometer-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-ceilometer-central | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-ceilometer-compute | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-ceilometer-ipmi | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-ceilometer-notification | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-cinder-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-cinder-backup | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-cinder-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-cinder-scheduler | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-cinder-volume | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-collectd | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-dependencies | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-ec2-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-glance-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-glance-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-gnocchi-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-gnocchi-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-gnocchi-metricd | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-gnocchi-statsd | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-heat-all | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-heat-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-heat-api-cfn | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-heat-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-heat-engine | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-horizon | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-horizon-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-ironic-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-ironic-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-ironic-conductor | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-ironic-inspector | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-ironic-neutron-agent | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-ironic-pxe | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-keystone | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-keystone-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-manila-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-manila-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-manila-scheduler | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-manila-share | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-mistral-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-mistral-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-mistral-engine | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-mistral-event-engine | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-mistral-executor | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-neutron-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-neutron-dhcp-agent | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-neutron-l3-agent | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-neutron-metadata-agent | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-neutron-metadata-agent-ovn | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-neutron-openvswitch-agent | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-neutron-server | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-neutron-server-opendaylight | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-neutron-server-ovn | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-neutron-sriov-agent | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-nova-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-nova-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-nova-compute | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-nova-compute-ironic | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-nova-conductor | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-nova-consoleauth | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-nova-libvirt | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-nova-novncproxy | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-nova-placement-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-nova-scheduler | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-octavia-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-octavia-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-octavia-health-manager | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-octavia-housekeeping | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-octavia-worker | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-panko-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-panko-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-sahara-api | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-sahara-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-sahara-engine | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-swift-account | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-swift-base | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-swift-container | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-swift-object | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-swift-proxy-server | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-tempest | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | rhosp13/openstack-zaqar | Not affected | |
| Red Hat Quay 3 | quay/quay-rhel8 | Not affected | |
| Red Hat Satellite 6 | satellite/iop-advisor-engine-rhel9 | Not affected |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 6 | 7.3 |
| Attack Vector | Local | Local |
| Attack Complexity | High | Low |
| Privileges Required | Low | Low |
| User Interaction | Required | Required |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | High | High |
| Integrity Impact | High | High |
| Availability Impact | None | High |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.