cbcvebase.
CVE-2026-41196
published 2026-04-23

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…

PriorityP271critical10CVSS 3.1
AVNACLPRNUINSCCHIHAH
EPSS
0.37%
29.3th percentile
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

2 ranges
VendorProductVersion rangeFixed in
luanti-orgluanti
minetestminetest>= 5.0.0 < 5.15.25.15.2

Detection & IOCsextracted from sources · hover to see the quote

  • The sandbox escape vector is the `getfenv` Lua function. A malicious mod abusing `getfenv` in a LuaJIT environment should be treated as a high-confidence indicator of exploitation attempt. Monitor mod code for calls to `getfenv`.
  • All four Luanti mod execution environments are in scope: server-side mod, async, mapgen, and client-side (CSM). Detection/monitoring should cover all four contexts, not just the server-side environment.
  • ·Vulnerable version range is 5.0.0 up to (not including) 5.15.2. Patch is available in version 5.15.2. Confirm installed version before applying mitigations.
  • ·A no-recompile workaround exists: edit `builtin/init.lua` and append `getfenv = nil`. Be aware this will break any mods that legitimately rely on `getfenv`.
  • ·Exploitation is strictly conditional on LuaJIT being the active Lua runtime. Installations using standard PUC Lua are NOT affected.

CVSS provenance

nvdv3.110.0CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
nvdv4.09.0CRITICALCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_redhat9.0CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.