Vulnerability Description
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).
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Minetest | Minetest | >= 5.0.0, < 5.15.2 |
Related Weaknesses (CWE)
References
- https://github.com/luanti-org/luanti/commit/8a929dfb97aa08337f49ba1bb96a56d6557dPatch
- https://github.com/luanti-org/luanti/security/advisories/GHSA-g596-mf82-w8c3Third Party Advisory
FAQ
What is CVE-2026-41196?
CVE-2026-41196 is a vulnerability with a CVSS score of 10.0 (CRITICAL). 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 ...
How severe is CVE-2026-41196?
CVE-2026-41196 has been rated CRITICAL with a CVSS base score of 10.0/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-41196?
Check the references section above for vendor advisories and patch information. Affected products include: Minetest Minetest.