CVE-2026-41196

critical
Published 2026-04-23 · Modified 2026-05-14
CVSS v3
10.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v2
VIR risk
10.0

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

Predictions

Exploit likelihood
98%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2026-41196

vendor Authored 2026-05-27

Vendor advisory: security-advisories@github.com — https://github.com/luanti-org/luanti/commit/8a929dfb97aa08337f49ba1bb96a56d6557dc896

OS impact

OSVersionStatusFixed in
debian debianforkyfixed5.15.2+dfsg-1
debian debiansidfixed5.15.2+dfsg-1
debian debiantrixiefixed5.10.0+dfsg-5+deb13u1

Application impact

VendorProductVersionsFixed
minetestminetest{"startIncluding":"5.0.0","endExcluding":"5.15.2"}5.15.2

References

CWEs

CWE-94

Verify integrity in audit chain (admin only). AS-IS.