Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconDistribute malicious mod via community channels
-
DeliveryUser installs mod in Luanti
-
ExploitGame loads mod on startup
-
InstallCrafted Lua code triggers LuaJIT sandbox escape
-
C2Execute arbitrary code as game process user
-
ExecuteAccess host filesystem and system resources
-
ImpactEstablish persistence or exfiltrate data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
|
| Exploitation Conditions | Requires Luanti compiled with LuaJIT scripting backend rather than standard Lua interpreter - builds using standard Lua are not vulnerable. Target user must install and load a malicious mod containing the crafted sandbox escape code. Exploitation is automatic once the mod loads (UI:N), requiring no further user interaction beyond the initial mod installation and game/world launch. The local attack vector (AV:L) means attackers cannot exploit this remotely over the network - they must deliver the malicious mod through social engineering (mod repositories, forums, direct file sharing) or supply-chain compromise (trojanized legitimate mods). No authentication required (PR:N) indicates the vulnerability is exploitable in default Luanti configurations without needing special privileges or non-standard settings. Exploitation is NOT limited by: operating system (affects all platforms running LuaJIT builds), multiplayer vs singleplayer mode, or specific game configuration settings. The low attack complexity (AC:L) confirms no race conditions, cryptographic timing, or complex setup is needed. |
| Impact | Real-world risk is moderate to high depending on deployment context. The CVSS 9.3 score reflects maximum potential impact (complete confidentiality, integrity, and availability compromise with scope change), but the local attack vector (AV:L) significantly constrains exploitation scenarios. Users must install and load a malicious mod, limiting this to social engineering or supply-chain attack vectors rather than remote network exploitation. The 'No privileges required' (PR:N) rating means attackers don't need pre-existing system access - merely the ability to convince users to install crafted mods through game mod repositories, forums, or content sharing platforms. No user interaction (UI:N) is required once the mod loads, meaning exploitation is automatic. EPSS score unavailable limits quantitative exploitation probability assessment. Not listed in CISA KEV, indicating no confirmed widespread active exploitation. However, the gaming community's mod-sharing culture and limited security vetting of community-created content creates realistic attack surface. Affected products are clearly scoped: Luanti 5.0.0 through 5.15.1 when compiled with LuaJIT (not standard Lua). The two-commit fix from vendor GitHub security advisory confirms the vulnerability is real and technically substantiated. Primary risk populations: multiplayer server operators running untrusted mods, content creators testing community mods, and users of mod aggregation platforms. Organizations running Luanti servers should prioritize this based on whether they use LuaJIT builds and accept third-party mod content. |
| Exploit ScenarioDerived | Attacker creates a seemingly legitimate Luanti mod (e.g., new biome pack, texture enhancement, or gameplay feature) and publishes it to community mod repositories or forums. User downloads and installs the mod through Luanti's mod management interface. Upon game launch or world load, the mod's crafted Lua code automatically triggers the LuaJIT sandbox escape without any additional user interaction. Malicious code executes with the privileges of the Luanti process, gaining full read/write access to user files, ability to execute arbitrary system commands, install persistence mechanisms, or pivot to network-based attacks if the host has network access. The scope change in CVSS indicates the attacker escapes the intended mod sandbox boundary to compromise the underlying system. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Apr 16, 2026
Lua sandbox escape in Luanti 5.x (formerly Minetest) game engine allows malicious mod code to break out of LuaJIT security restrictions and execute arbitrary code on the host system. Affects all Luanti 5.0.0 through 5.15.1 when compiled with LuaJIT instead of standard Lua. Attackers with ability to distribute crafted mods can achieve complete system compromise with scope change (S:C in CVSS), escalating from sandboxed mod execution to full host access. No authentication required but local access needed (AV:L). Patch available in version 5.15.2 via two upstream commits. EPSS data not available; no confirmed active exploitation or public POC at time of analysis.
Earlier versions of this analysis (2)
Lua sandbox escape in Luanti game engine 5.x through 5.15.1 allows malicious mods to execute arbitrary code outside the sandbox when LuaJIT is enabled. Affects the open-source voxel game engine (formerly Minetest) in configurations using LuaJIT instead of standard Lua. Remote attackers can distribute weaponized mods through community repositories or social engineering, achieving complete system compromise with scope change to underlying host (CVSS S:C). EPSS data not available; no evidence of active exploitation (not in CISA KEV), but proof-of-concept fixes in GitHub commits indicate vulnerability mechanism is understood.
Lua sandbox escape in Luanti 5.x before 5.15.2 allows complete host system compromise when LuaJIT is enabled. Malicious mods can break out of the game's scripting sandbox to execute arbitrary code with full user privileges on Windows, macOS, and Linux. Attack requires local access to install a crafted mod but no authentication (CVSS PR:N), enabling complete confidentiality, integrity, and availability breaches with scope change to underlying system (CVSS S:C). No active exploitation confirmed at time of analysis, but GitHub security advisory and two upstream commits indicate vendor-coordinated disclosure.
RemediationAI
Upgrade to Luanti 5.15.2 or later, which contains the complete fix implemented in commits 8a929dfb97aa08337f49ba1bb96a56d6557dc896 and 53cef183e2a85a4daff84ac1a9a7946f940da8f8 available at https://github.com/luanti-org/luanti. If immediate upgrade is not feasible, recompile Luanti with standard Lua interpreter instead of LuaJIT - this eliminates the vulnerable code path entirely but may reduce mod execution performance by 2-5x depending on workload. For production multiplayer servers unable to upgrade immediately, implement strict mod vetting: only load mods from trusted sources with code review, disable automatic mod downloading, and run the game engine in a sandboxed environment (container, VM, or restricted user account) to limit blast radius of successful sandbox escape. Note that switching to standard Lua may break mods with LuaJIT-specific dependencies or performance assumptions. Operators of public servers accepting user-uploaded mods should treat this as a critical-priority patch due to the trivial social engineering path (malicious mod distribution).
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
Luanti (previously known as Minetest) is an open-source voxel game engine written in C++ that uses Lua scripting for game logic and mod support. The engine supports both standard Lua and LuaJIT (Just-In-Time compiler variant) as scripting backends. LuaJIT provides performance benefits but has historically presented unique security challenges for sandboxing due to its FFI (Foreign Function Interface) capabilities and JIT compilation mechanisms. This vulnerability (CWE-829: Inclusion of Functionality from Untrusted Control Sphere) specifically affects the LuaJIT implementation's sandbox, which is designed to isolate mod code from the host operating system. The sandbox escape allows malicious Lua code within a mod to bypass security boundaries and access system-level functionality that should be restricted. The CVSS scope change (S:C) indicates the vulnerable component (LuaJIT sandbox) operates at a different privilege level than the impacted component (host system), confirming genuine privilege escalation beyond the intended mod execution context.
Know when Luanti gets its next vulnerability
- 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
AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionCVE.org
Luanti 5 before 5.15.2, when LuaJIT is used, allows a Lua sandbox escape via a crafted mod.
Executive ViewAI
Luanti 5.x game engine versions through 5.15.1 contain a critical sandbox escape vulnerability in LuaJIT that allows malicious mods to execute arbitrary code on host systems with full privileges. Organizations running game servers, creative platforms, or applications built on Luanti face complete system compromise if users install untrusted mods, requiring immediate patching across all affected deployments.
Vendor-released patch: version 5.15.2. Until patching is complete: restrict mod installation to administrator-curated lists only, disable user mod uploads, run Luanti in isolated containers with minimal host filesystem access, and monitor process execution for unexpected child processes or system calls from game engine instances.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote code execution in Luanti 5.0.0 through 5.15.1 allows authenticated attackers to escape the Lua sandbox via malici
Logic error in Luanti 5 (formerly Minetest) game engine before 5.15.2 allows malicious mods to gain unauthorized access
EUVD-2026-23149
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB