CVE-2026-41196
CRITICALLuanti 5.0.0-5.15.1 LuaJIT Mod Sandbox - Sandbox Escape
Title source: manualDescription
Luanti (formerly Minetest) is an open source voxel game-creation platform. Starting in version 5.0.0 and prior to version 5.15.2, a malicious mod can trivially escape the sandboxed Lua environment to execute arbitrary code and gain full filesystem access on the user's device. This applies to the server-side mod, async and mapgen as well as the client-side (CSM) environments. This vulnerability is only exploitable when using LuaJIT. Version 5.15.2 contains a patch. On release versions, one can also patch this issue without recompiling by editing `builtin/init.lua` and adding the line `getfenv = nil` at the end. Note that this will break mods relying on this function (which is not inherently unsafe).
References (2)
Core 2
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/luanti-org/luanti/commit/8a929dfb97aa08337f49ba1bb96a56d6557dc896
X_Refsource_Confirm x_refsource_confirm
https://github.com/luanti-org/luanti/security/advisories/GHSA-g596-mf82-w8c3
Scores
CVSS v3
10.0
EPSS
0.0037
EPSS Percentile
29.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-94
Status
published
Products (2)
luanti-org/luanti
>= 5.0.0, < 5.15.2
minetest/minetest
5.0.0 - 5.15.2
Published
Apr 23, 2026
Tracked Since
Apr 23, 2026