Vulnerabilities / CVE-2026-41196

critical

CVE-2026-41196

luanti: minetest: luajit: Luanti (Minetest): Arbitrary code execution and full filesystem access via malicious mod sandbox escape

Published Modified CWE 94
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Red Hat8.2CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Ubuntu (medium).

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 packages and fixed versions

SourcePackageFixed in
debian 13luanti5.10.0+dfsg-5+deb13u1
debian 14luanti5.15.2+dfsg-1
echoluanti5.10.0+dfsg-5+deb13u1
rapidfort alpine 3.20minetestno fix listed
rapidfort alpine 3.21minetestno fix listed
rapidfort alpine 3.22minetestno fix listed
rapidfort alpine 3.23minetestno fix listed
rapidfort alpine 3.24minetestno fix listed
rapidfort fedora 43minetest, minetest-data-common, minetest-server5.15.2-1.fc43
rapidfort Oracle Linux 9minetest, minetest-data-common, minetest-serverno fix listed
rapidfort ubuntu 20.04luanti, minetest0:5.10.0+dfsg-5+deb13u1build0.26.04.1 and 1 more
rapidfort ubuntu 22.04luanti, minetest0:5.10.0+dfsg-5+deb13u1build0.26.04.1 and 1 more
Show all 24 entries from 17 sources
SourcePackageFixed in
debian 13luanti5.10.0+dfsg-5+deb13u1
debian 14luanti5.15.2+dfsg-1
echoluanti5.10.0+dfsg-5+deb13u1
rapidfort alpine 3.20minetestno fix listed
rapidfort alpine 3.21minetestno fix listed
rapidfort alpine 3.22minetestno fix listed
rapidfort alpine 3.23minetestno fix listed
rapidfort alpine 3.24minetestno fix listed
rapidfort fedora 43minetest5.15.2-1.fc43
rapidfort fedora 43minetest-data-common5.15.2-1.fc43
rapidfort fedora 43minetest-server5.15.2-1.fc43
rapidfort Oracle Linux 9minetestno fix listed
rapidfort Oracle Linux 9minetest-data-commonno fix listed
rapidfort Oracle Linux 9minetest-serverno fix listed
rapidfort ubuntu 20.04luanti0:5.10.0+dfsg-5+deb13u1build0.26.04.1
rapidfort ubuntu 20.04minetest0:5.10.0+dfsg-5
rapidfort ubuntu 22.04luanti0:5.10.0+dfsg-5+deb13u1build0.26.04.1
rapidfort ubuntu 22.04minetest0:5.10.0+dfsg-5
rapidfort ubuntu 24.04luanti0:5.10.0+dfsg-5+deb13u1build0.26.04.1
rapidfort ubuntu 24.04minetest0:5.10.0+dfsg-5
ubuntu 20.04-ESMminetest5.1.1+repack-1ubuntu0.1~esm1
ubuntu 22.04minetestno fix listed
ubuntu 24.04minetestno fix listed
ubuntu 26.04luanti5.10.0+dfsg-5+deb13u1build0.26.04.1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.