Skip to main content

Luanti EUVDEUVD-2026-23151

| CVE-2026-40960 HIGH
Always-Incorrect Control Flow Implementation (CWE-670)
2026-04-16 mitre
8.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local file access
  2. Delivery
    Deploy malicious mod with interception hooks
  3. Exploit
    Trigger server mod reload
  4. Execution
    Intercept trusted mod environment during initialization
  5. Persist
    Execute code with unrestricted API access
  6. Impact
    Exfiltrate data or establish persistence

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Always-incorrect control flow
Exploitation Conditions

Exploitation requires two specific conditions: (1) at least one mod must be explicitly listed in the server's secure.trusted_mods or secure.http_mods configuration settings, which creates the privileged environment that can be intercepted, and (2) the attacker must have local file system write access to install a malicious mod into the Luanti mods directory before server startup or during mod reload. Exploitation is limited to deployments that both enable trusted mod features AND allow untrusted parties to add mods - primarily public multiplayer servers with user-contributed mod repositories or shared hosting environments. Single-user installations where only the owner manages mods face negligible risk. Servers that accept no mods from untrusted sources (curated mod lists only) or that disable secure.trusted_mods/secure.http_mods entirely are not vulnerable. The AC:H rating reflects implementation complexity: the malicious mod must precisely time or sequence its initialization to intercept the environment handle during the loading process.

Impact

Real-world risk depends heavily on deployment context. CVSS 8.1 with AV:L (local attack vector) means the attacker must already have local file system access to install the malicious mod - this is NOT a remote network exploit. AC:H (high attack complexity) reflects the precise timing or naming requirements to win the environment interception race. PR:N (no privileges required) is somewhat misleading in context: while no OS-level authentication is needed, the attacker must have permission to add mods to the Luanti installation, which typically requires file system write access. S:C (scope change) is appropriate because escaping mod sandbox restrictions allows impacts beyond the mod's intended isolation boundary. The critical concern is multi-tenant or public Luanti servers where untrusted users can upload mods - in those environments, this enables sandbox escape and potential server compromise. Single-user installations or carefully curated mod repositories face minimal risk. No EPSS score provided but absence from CISA KEV and lack of public exploit code suggests limited observed exploitation despite the high CVSS score. SSVC assessment: Exploitation status is POC (proof-of-concept logic is understood from description), Automatable is NO (requires server operator to install the malicious mod), Technical Impact is TOTAL (complete sandbox escape). Priority depends on whether your deployment accepts untrusted mods.

Exploit ScenarioDerived

An attacker with local access to a Luanti multiplayer server creates a malicious mod with carefully chosen initialization hooks and naming to execute during the mod loading phase. When the server administrator has configured legitimate mods in secure.trusted_mods to enable HTTP API access for content updates, the malicious mod intercepts the environment assignment. The crafted mod now possesses unrestricted HTTP capabilities and insecure Lua environment access, allowing it to exfiltrate server configuration data, modify game state arbitrarily, or establish command-and-control connections. No public exploit code exists, but the logic flaw description provides sufficient detail for a capable attacker to develop working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Apr 16, 2026

Logic error in Luanti 5 (formerly Minetest) game engine before 5.15.2 allows malicious mods to gain unauthorized access to security-restricted APIs by intercepting mod environment setup. When any mod is designated as trusted (via secure.trusted_mods or secure.http_mods), a specially crafted mod can exploit the environment initialization sequence to receive the insecure environment or HTTP API access intended only for trusted mods. CVSS 8.1 reflects local attack vector with high complexity but no authentication required and scope change with high confidentiality/integrity/availability impact. GitHub security advisory and two fix commits confirm patch availability. No CISA KEV listing or public exploit code identified at time of analysis.

Earlier versions of this analysis (1)
v1 Apr 16, 2026 - 01:19 CVSS 8.1

Crafted mods in Luanti 5.x through 5.15.1 can intercept and gain unauthorized access to the insecure environment and HTTP API when any mod is configured in secure.trusted_mods or secure.http_mods. This privilege escalation allows malicious mods to bypass sandbox restrictions and execute arbitrary code with elevated privileges. CVSS 8.1 with scope change indicates breakout from the mod security boundary. No active exploitation (CISA KEV) or public POC identified at time of analysis, though patches are available via GitHub commits.

RemediationAI

Upgrade to Luanti 5.15.2 or later, which contains fixes in commits 0faf529bc4b89e70a275ed1162047815118f2413 and 827fd4cf7f989482b2dad381fa4afd642ea73e8c that correct the mod environment initialization logic. The patches enforce proper access control during environment provisioning to prevent interception by untrusted mods. For environments unable to upgrade immediately, remove all entries from secure.trusted_mods and secure.http_mods configurations to eliminate the trigger condition - this disables HTTP API and insecure environment access for all mods, effectively closing the attack vector but breaking functionality of mods that legitimately require those capabilities. Alternatively, implement strict mod vetting procedures: only install mods from verified sources, review mod code before deployment, and disable user-uploaded mods on public servers. Note that disabling trusted mod features may break existing gameplay mechanics that depend on HTTP lookups or file operations. Advisory and technical details: https://github.com/luanti-org/luanti/security/advisories/GHSA-22c4-238c-m5j4

Affected VersionsENISA

Luanti 5.0.0 <5.15.2

Affected Packages

euvd luanti fix: 5.15.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Luanti (CVE-2026-40960 affects cpe:2.3:a:luanti:luanti) is an open-source voxel game engine supporting user-created modifications (mods) with restricted and unrestricted API environments. The secure.trusted_mods and secure.http_mods configuration settings designate which mods may access privileged APIs like HTTP networking or file system operations. CWE-670 (Always-Incorrect Control Flow Implementation) indicates a logic flaw in the mod initialization sequence. The vulnerability manifests during environment provisioning: when the engine iterates through loaded mods to assign API access, a maliciously-named or sequenced mod can position itself to receive the privileged environment handle before or instead of the legitimately trusted mod. This breaks the security model that assumes only explicitly trusted mods can access dangerous capabilities like arbitrary HTTP requests or unrestricted Lua functions.

Know when Luanti gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.1 HIGH
AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
SUSE HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Patch released
Apr 17, 2026 - 15:38 nvd
Patch available
Analysis Updated
Apr 16, 2026 - 05:56 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
5.15.2
Analysis Updated
Apr 16, 2026 - 01:43 vuln.today
v2 - CVSS changed
CVE Published
Apr 16, 2026 - 00:54 nvd
HIGH 8.1

DescriptionCVE.org

Luanti 5 before 5.15.2 sometimes allows unintended access to an insecure environment. If at least one mod is listed as secure.trusted_mods or secure.http_mods, then a crafted mod can intercept the request for the insecure environment or HTTP API, and also receive access to it.

Executive ViewAI

Why It Matters

Luanti 5 game engine versions before 5.15.2 contain a logic error that allows malicious mods to bypass security controls and gain unauthorized access to restricted APIs, potentially compromising game servers and user data through compromised mod distribution. Organizations deploying Luanti for gaming, educational, or enterprise environments should prioritize patching to prevent unauthorized access to HTTP APIs and sensitive game functions by untrusted code.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not possible: (1) Temporarily disable untrusted community mods and use only internally-vetted mods; (2) Restrict network access for Luanti server processes to minimize HTTP API exposure; (3) Disable HTTP API functionality if not required; (4) Implement code review for all mods before marking as trusted.

Threat Intelligence Overview

EPSS Score
0.0%
Top 100% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy