Vulnerability

CVE-2026-41196

criticalCVSS 4.0 9.0Published 23 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Minetest minetest

Weakness type

References

  • github.com /luanti-org/luanti/commit/8a929dfb97aa08337f49ba1bb96a56d65…
  • github.com /luanti-org/luanti/security/advisories/GHSA-g596-mf82-w8c3

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning