Skip to main content
VulnerabilityPublished

CVE-2026-41196: luanti · Code Injection

Affects luantiSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.0 Critical : upgrade to 5.15.2 as a priority.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
9.0Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.15.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade luanti and luanti-org/luanti to 5.15.2.

Affected software

ProductAffectedFixed in
luanti-orgluantiAffected
  • >=5.0.0 <5.15.2
Fixed in
  • 5.15.2
GitHubluanti-org/luantipkg:github/luanti-org/luantiOther threatsAffected
  • <5.15.2 >=5.0.0
Fixed in
  • 5.15.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in Luanti version 5.15.2 that fixes this vulnerability. Users should upgrade to this version to fully remediate the issue. If upgrading is not immediately possible, a temporary mitigation can be applied by editing the builtin/init.lua file to add the line 'getfenv = nil' at the end, which disables the function enabling the exploit. Note that this workaround may break mods that rely on getfenv.

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

References

Community reviews

Loading reviews…