cve.bz

CVE-2026-41196 minetest minetest: Code Injection

9.0 criticalEPSS 0.4%Fix available

Critical (9.0) in minetest minetest. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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).

Severity

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

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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-41196 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-41196?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-41196?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-41196 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
minetest:minetestfrom 5.0.0 before 5.15.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13luanti5.10.0+dfsg-5+deb13u1DEBIAN-CVE-2026-41196
Debian14luanti5.15.2+dfsg-1DEBIAN-CVE-2026-41196
Ubuntu25.10luantino fix listedUBUNTU-CVE-2026-41196
Ubuntu26.04:LTSluanti5.10.0+dfsg-5+deb13u1build0.26.04.1UBUNTU-CVE-2026-41196
UbuntuPro:20.04:LTSminetest5.1.1+repack-1ubuntu0.1~esm1UBUNTU-CVE-2026-41196 USN-8732-1
UbuntuPro:22.04:LTSminetest5.4.1+repack-2ubuntu0.1~esm1UBUNTU-CVE-2026-41196 USN-8732-1
UbuntuPro:24.04:LTSminetest5.6.1+dfsg+~1.9.0mt8+dfsg-4ubuntu0.1~esm1UBUNTU-CVE-2026-41196 USN-8732-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is only exploitable when using LuaJIT. You can use ```luanti --version``` to determine the type of Lua in use.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-41196.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON