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

- Severity: Critical 9.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-02)
- Published: 2026-04-23T00:28:56.716Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- luanti-org luanti: >= 5.0.0, < 5.15.2
- minetest minetest: from 5.0.0 before 5.15.2

## Every score

- GitHub_M: CVSS:4.0 9.0 Critical `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`
- NVD: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/luanti-org/luanti/security/advisories/GHSA-g596-mf82-w8c3> (third-party-advisory)
- <https://github.com/luanti-org/luanti/commit/8a929dfb97aa08337f49ba1bb96a56d6557dc896> (patch)

## Sources

- CVE List: [CVE-2026-41196](https://www.cve.org/CVERecord?id=CVE-2026-41196), CVE Terms of Use, modified 2026-04-23
- NVD: [CVE-2026-41196](https://nvd.nist.gov/vuln/detail/CVE-2026-41196), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-41196 · Whole record: https://cve.day/CVE-2026-41196.json · Rebuilt by cve.day 2026-11-25T22:59:19.368Z
