CVE-2026-41196

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).
Configurations

Configuration 1 (hide)

cpe:2.3:a:minetest:minetest:*:*:*:*:*:*:*:*

History

11 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) 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).

14 May 2026, 16:35

Type Values Removed Values Added
References () https://github.com/luanti-org/luanti/commit/8a929dfb97aa08337f49ba1bb96a56d6557dc896 - () https://github.com/luanti-org/luanti/commit/8a929dfb97aa08337f49ba1bb96a56d6557dc896 - Patch
References () https://github.com/luanti-org/luanti/security/advisories/GHSA-g596-mf82-w8c3 - () https://github.com/luanti-org/luanti/security/advisories/GHSA-g596-mf82-w8c3 - Third Party Advisory
First Time Minetest minetest
Minetest
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 10.0
CPE cpe:2.3:a:minetest:minetest:*:*:*:*:*:*:*:*

23 Apr 2026, 02:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-23 02:16

Updated : 2026-11-11 23:10


NVD link : CVE-2026-41196

Mitre link : CVE-2026-41196

CVE.ORG link : CVE-2026-41196


JSON object : View

Products Affected

minetest

  • minetest
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')