Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-41196: CWE-94: Improper Control of Generation of Code ('Code Injection') in luanti-org luanti

0
Critical
VulnerabilityCVE-2026-41196cvecve-2026-41196cwe-94
Published: Thu Apr 23 2026 (04/23/2026, 00:28:56 UTC)
Source: CVE Database V5
Vendor/Project: luanti-org
Product: luanti

Description

CVE-2026-41196 is a critical code injection vulnerability in luanti (formerly Minetest) versions 5. 0. 0 up to but not including 5. 15. 2. A malicious mod can escape the sandboxed Lua environment to execute arbitrary code and gain full filesystem access on the user's device. This affects server-side mods, async, mapgen, and client-side mod environments when LuaJIT is used. The vulnerability is patched in version 5. 15. 2.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/23/2026, 01:22:00 UTC

Technical Analysis

Luanti versions from 5.0.0 to before 5.15.2 contain a vulnerability (CWE-94) that allows malicious Lua mods to escape sandbox restrictions and execute arbitrary code with full filesystem access. This applies to both server-side and client-side mod environments when LuaJIT is enabled. The issue is resolved in version 5.15.2. Alternatively, users can mitigate the vulnerability without recompilation by adding 'getfenv = nil' to builtin/init.lua, which disables a function that enables the exploit but may impact legitimate mods.

Potential Impact

Exploitation allows a malicious mod to break out of the Lua sandbox and execute arbitrary code on the host system, resulting in full filesystem access. This can lead to complete compromise of the affected device running luanti versions prior to 5.15.2 when LuaJIT is used. There are no known exploits in the wild as of the published date.

Mitigation Recommendations

Upgrade to luanti version 5.15.2 or later, which contains an official patch for this vulnerability. If upgrading is not immediately possible, apply the manual mitigation by editing builtin/init.lua to add the line 'getfenv = nil' at the end, understanding this may break some mods that rely on this function. No other vendor advisories or patches are provided, so check the official luanti project for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-18T02:51:52.973Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69e9707c87115cfb68522134

Added to database: 4/23/2026, 1:06:04 AM

Last enriched: 4/23/2026, 1:22:00 AM

Last updated: 4/23/2026, 7:12:09 AM

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses