{"id":"CVE-2026-41196","aliases":["CVE-2026-41196"],"related":[],"kind":"vulnerability","state":"published","title":"Luanti has a mod security sandbox escape","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","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).","source":"cvelist"},{"lang":"es","text":"Luanti (anteriormente Minetest) es una plataforma de código abierto para la creación de juegos de vóxeles. A partir de la versión 5.0.0 y antes de la versión 5.15.2, un mod malicioso puede escapar trivialmente del entorno Lua enjaulado para ejecutar código arbitrario y obtener acceso completo al sistema de archivos en el dispositivo del usuario. Esto se aplica al mod del lado del servidor, async y mapgen, así como a los entornos del lado del cliente (CSM). Esta vulnerabilidad solo es explotable al usar LuaJIT. La versión 5.15.2 contiene un parche. En las versiones de lanzamiento, también se puede aplicar un parche a este problema sin recompilar, editando “builtin/init.lua” y añadiendo la línea “getfenv = nil” al final. Tenga en cuenta que esto romperá los mods que dependen de esta función (la cual no es intrínsecamente insegura).","source":"nvd"}],"published":"2026-04-23T00:28:56.716Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":9,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":">= 5.0.0, < 5.15.2","status":"affected"}],"vendor":"luanti-org","product":"luanti","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.0.0","fixed":"5.15.2"}],"vendor":"minetest","product":"minetest","cpe":"cpe:2.3:a:minetest:minetest:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/luanti-org/luanti/security/advisories/GHSA-g596-mf82-w8c3","tags":["third-party-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/luanti-org/luanti/commit/8a929dfb97aa08337f49ba1bb96a56d6557dc896","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-23T14:38:05.758Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41196","url":"https://www.cve.org/CVERecord?id=CVE-2026-41196","licence":"CVE Terms of Use","modified":"2026-04-23T14:38:39.113Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41196","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41196","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.368Z","epss":{"score":0.00389,"percentile":0.35115,"date":"2026-12-02T12:00:21.000Z"}}