CVE-2026-41196

published 23 Apr 2026 · updated 11 Nov 2026

Luanti has a mod security sandbox escape

9.0CriticalCVSS 9.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.15.2.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
luanti-org>=5.0.0 <5.15.2
minetestminetest>=5.0.0 <5.15.25.15.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-41196 severity on Zeptric[![CVE-2026-41196](https://zeptric.io/badge/cve/CVE-2026-41196.svg)](https://zeptric.io/cve/CVE-2026-41196)