PT-2026-34594 · Luanti · Luanti
Published
2026-04-23
·
Updated
2026-05-14
·
CVE-2026-41196
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Luanti versions 5.0.0 through 5.15.1
Description
A malicious mod can escape the sandboxed Lua environment to execute arbitrary code and gain full filesystem access on the user's device. This issue affects server-side mods, async, mapgen, and client-side (CSM) environments, and is only exploitable when using LuaJIT (a Just-In-Time compiler for the Lua programming language).
Recommendations
Update to version 5.15.2.
As a temporary workaround for release versions, edit
builtin/init.lua and add the line getfenv = nil at the end, though this may break mods relying on the getfenv() function.Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Luanti