GHSA-5w7q-2f7j-rqmm
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Kvrocks service
-
DeliveryIssue EVAL with loadstring payload
-
ExploitLua runtime compiles arbitrary code chunk
-
ExecutionSandbox boundary bypassed
-
ImpactExecute OS commands or access host filesystem as server process user
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires: (1) network connectivity to the Kvrocks service port; (2) a valid user account with permission to execute the EVAL command - this is an authenticated, low-privilege condition, not unauthenticated; (3) no special non-default configuration is required beyond having EVAL access, which is typically granted by default to authenticated users in Redis-compatible systems. Exploitation is limited by: authentication (unauthenticated attackers cannot reach EVAL), network segmentation (Kvrocks not exposed to untrusted networks reduces exposure), and ACL policies that explicitly deny EVAL to specific users. Deployments where all authenticated users are fully trusted internal services have materially lower risk than multi-tenant or shared environments. |
| Impact | No official CVSS vector has been published; the following risk picture is inferred from the vulnerability class and description. The attack requires network access to Kvrocks and a user account with EVAL privileges, placing this in a low-privilege authenticated network scenario. EPSS data is absent (pre-NVD), and there is no CISA KEV entry. Despite the absence of these signals, Lua sandbox escapes in Redis-compatible systems are well-documented, the |
| Exploit ScenarioDerived | An authenticated Kvrocks user with EVAL command access sends a crafted Lua script containing a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Lua sandbox escape in Apache Kvrocks exposes the host environment to authenticated users who hold EVAL command privileges. The database fails to strip the loadstring function from its Lua scripting environment, which is a standard hardening step in Redis-protocol-compatible systems; retaining it allows a sandboxed Lua script to load and execute arbitrary Lua bytecode dynamically, effectively escaping the intended script isolation. No public exploit code or CISA KEV listing exists at time of analysis; however, sandbox escapes of this class are well-understood and exploitable by any user granted EVAL access.
RemediationAI
The primary remediation is to upgrade to the patched version of Apache Kvrocks once it is released by the Apache Software Foundation. At time of analysis, an exact fix version has not been independently confirmed - the disclosure is pre-NVD and the oss-security post (https://www.openwall.com/lists/oss-security/2026/06/25) should be monitored for the official advisory. As a compensating control, restrict or revoke EVAL command access for untrusted or low-privilege users; this can typically be done through Kvrocks ACL rules (analogous to Redis ACL nocommands +@all -eval). Trade-off: disabling EVAL breaks any application logic that relies on server-side Lua scripting. Additionally, deploying Kvrocks in a network-segmented environment accessible only to trusted application services reduces the attack surface. Do not expose the Kvrocks port to untrusted networks.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Kvrocks is a Redis-protocol-compatible distributed key-value store backed by RocksDB. Like Redis, it exposes an EVAL command that runs Lua scripts inside an interpreter that is supposed to be sandboxed - dangerous standard-library functions (filesystem access, OS calls, load/loadstring for dynamic code compilation) are expected to be nil-ed out before scripts execute. CVE-2026-46751 identifies that loadstring - a Lua 5.1 built-in that compiles an arbitrary string as a Lua chunk and returns it as a callable function - has not been removed from the Kvrocks Lua sandbox. This is the same class of omission that produced CVE-2022-0543 in Debian/Ubuntu Redis packages. The root-cause CWE is not yet assigned by NVD, but the class is CWE-693 (Protection Mechanism Failure) or CWE-265 (Privilege Issues), specifically an incomplete sandbox that retains a capability allowing policy bypass. No CPE strings are published yet given pre-NVD status.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:H/SI:H/SA:H/S:N/AU:Y/R:U/V:D/RE:L/U:Green
Network-accessible service, low complexity once authenticated; PR:L because EVAL requires a valid user account; S:C because sandbox escape grants host-level impact beyond the database process.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
1Description PRE-NVD
Articles & Coverage 1
Executive ViewAI
Apache Kvrocks contains a critical Lua sandbox escape vulnerability allowing authenticated users with EVAL command privileges to execute arbitrary code on the database host. This directly compromises the security posture of production infrastructure and creates risk of lateral movement, data exfiltration, and system compromise. The absence of a vendor patch requires immediate protective measures and contingency planning.
No vendor-released patch identified at time of analysis. Implement: (1) Disable EVAL command for all non-essential deployments; (2) Enforce database-level ACLs limiting EVAL access to single trusted service account with least-privilege scope; (3) Deploy network segmentation restricting Kvrocks access to approved application servers only; (4) Enable comprehensive audit logging of all EVAL command execution; (5) Implement real-time monitoring for Lua bytecode patterns and loadstring invocations within scripts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-39333
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB