Vulnerability · Published Apr 23, 2026 · Assigned by GitHub_M

CVE-2026-41196Luanti has a mod security sandbox escape

Critical 9.0

In plain English

A critical-severity code injection in luanti from luanti-org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)9.0Critical
Exploit odds (30 days)0.4%top 68.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13luanti5.10.0+dfsg-5+deb13u1DEBIAN-CVE-2026-41196
Debian:14luanti5.15.2+dfsg-1DEBIAN-CVE-2026-41196
Ubuntu:25.10luantino fix listedUBUNTU-CVE-2026-41196
Ubuntu:26.04:LTSluanti5.10.0+dfsg-5+deb13u1build0.26.04.1UBUNTU-CVE-2026-41196

Affected products (as reported)

VendorProductVersions
luanti-org luanti >= 5.0.0, < 5.15.2

Weakness: CWE-94 · Vector: 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

References