{"id":"CVE-2026-41196","published":"2026-04-23T00:28:56Z","modified":"2026-04-23T14:38:39Z","title":"Luanti has a mod security sandbox escape","vendor":"luanti-org","product":"luanti","tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":9,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00389,"percentile":0.33878,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/luanti-org/luanti/security/advisories/GHSA-g596-mf82-w8c3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/luanti-org/luanti/commit/8a929dfb97aa08337f49ba1bb96a56d6557dc896","tags":["x_refsource_MISC"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":6.78},{"name":"CVSS severity","points":6.3}]},"vendorSlug":"luanti-org","affectedVersions":[{"vendor":"luanti-org","product":"luanti","versions":[">= 5.0.0, < 5.15.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-23T14:38:05.758080Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-25154","exploited":false,"provenance":"source"}}