{"id":"UBUNTU-CVE-2026-41196","details":"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).","modified":"2026-09-07T19:00:05.186157992Z","published":"2026-04-23T02:16:00Z","related":["USN-8732-1"],"upstream":["CVE-2026-41196"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-41196"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-41196"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8732-1"}],"affected":[{"package":{"name":"minetest","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/minetest?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.1+repack-1ubuntu0.1~esm1"}]}],"versions":["5.0.1+repack-2","5.1.0+repack-1","5.1.1+repack-1","5.1.1+repack-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"minetest","binary_version":"5.1.1+repack-1ubuntu0.1~esm1"},{"binary_name":"minetest-data","binary_version":"5.1.1+repack-1ubuntu0.1~esm1"},{"binary_version":"5.1.1+repack-1ubuntu0.1~esm1","binary_name":"minetest-server"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41196.json"}},{"package":{"name":"minetest","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/minetest?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.1+repack-2ubuntu0.1~esm1"}]}],"versions":["5.3.0+repack-2.1","5.4.1+repack-2","5.4.1+repack-2build1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"minetest","binary_version":"5.4.1+repack-2ubuntu0.1~esm1"},{"binary_version":"5.4.1+repack-2ubuntu0.1~esm1","binary_name":"minetest-data"},{"binary_version":"5.4.1+repack-2ubuntu0.1~esm1","binary_name":"minetest-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41196.json"}},{"package":{"name":"minetest","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/minetest?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.1+dfsg+~1.9.0mt8+dfsg-4ubuntu0.1~esm1"}]}],"versions":["5.6.1+dfsg+~1.9.0mt8+dfsg-2build1","5.6.1+dfsg+~1.9.0mt8+dfsg-3","5.6.1+dfsg+~1.9.0mt8+dfsg-4","5.6.1+dfsg+~1.9.0mt8+dfsg-4build2","5.6.1+dfsg+~1.9.0mt8+dfsg-4build3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"minetest","binary_version":"5.6.1+dfsg+~1.9.0mt8+dfsg-4ubuntu0.1~esm1"},{"binary_name":"minetest-data","binary_version":"5.6.1+dfsg+~1.9.0mt8+dfsg-4ubuntu0.1~esm1"},{"binary_name":"minetest-server","binary_version":"5.6.1+dfsg+~1.9.0mt8+dfsg-4ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41196.json"}},{"package":{"name":"luanti","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/luanti?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.10.0+dfsg-5","5.10.0+dfsg-5+deb13u1build0.25.10.1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.10.0+dfsg-5+deb13u1build0.25.10.1","binary_name":"luanti"},{"binary_name":"luanti-data","binary_version":"5.10.0+dfsg-5+deb13u1build0.25.10.1"},{"binary_name":"luanti-server","binary_version":"5.10.0+dfsg-5+deb13u1build0.25.10.1"},{"binary_name":"minetest","binary_version":"5.10.0+dfsg-5+deb13u1build0.25.10.1"},{"binary_version":"5.10.0+dfsg-5+deb13u1build0.25.10.1","binary_name":"minetest-data"},{"binary_name":"minetest-server","binary_version":"5.10.0+dfsg-5+deb13u1build0.25.10.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41196.json"}},{"package":{"name":"luanti","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/luanti?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.0+dfsg-5+deb13u1build0.26.04.1"}]}],"versions":["5.10.0+dfsg-5"],"ecosystem_specific":{"binaries":[{"binary_version":"5.10.0+dfsg-5+deb13u1build0.26.04.1","binary_name":"luanti"},{"binary_name":"luanti-data","binary_version":"5.10.0+dfsg-5+deb13u1build0.26.04.1"},{"binary_name":"luanti-server","binary_version":"5.10.0+dfsg-5+deb13u1build0.26.04.1"},{"binary_name":"minetest","binary_version":"5.10.0+dfsg-5+deb13u1build0.26.04.1"},{"binary_name":"minetest-data","binary_version":"5.10.0+dfsg-5+deb13u1build0.26.04.1"},{"binary_name":"minetest-server","binary_version":"5.10.0+dfsg-5+deb13u1build0.26.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41196.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}