Luanti up to 5.15.1 Mod trusted_mods control flow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.2$0-$5k0.33

Summaryinfo

A vulnerability was found in Luanti up to 5.15.1. It has been classified as problematic. Affected by this issue is the function trusted_mods of the component Mod Handler. Performing a manipulation results in control flow. This vulnerability is identified as CVE-2026-40960. The attack is only possible with local access. There is not any exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability classified as problematic has been found in Luanti up to 5.15.1. This affects the function trusted_mods of the component Mod Handler. The manipulation with an unknown input leads to a control flow vulnerability. CWE is classifying the issue as CWE-670. The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

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.

It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2026-40960 since 04/16/2026. The exploitability is told to be difficult. Attacking locally is a requirement. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 306711 (Linux Distros Unpatched Vulnerability : CVE-2026-40960), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 5.15.2 eliminates this vulnerability. Applying the patch 0faf529bc4b89e70a275ed1162047815118f2413 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (306711) and EUVD (EUVD-2026-23151). Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.2

VulDB Base Score: 4.5
VulDB Temp Score: 4.3
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 8.1
CNA Vector (MITRE): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Control flow
CWE: CWE-670
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 306711
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-40960

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Luanti 5.15.2
Patch: 0faf529bc4b89e70a275ed1162047815118f2413

Timelineinfo

04/16/2026 Advisory disclosed
04/16/2026 +0 days CVE reserved
04/16/2026 +0 days VulDB entry created
04/17/2026 +0 days VulDB entry last update

Sourcesinfo

Advisory: GHSA-22c4-238c-m5j4
Status: Confirmed

CVE: CVE-2026-40960 (🔒)
GCVE (CVE): GCVE-0-2026-40960
GCVE (VulDB): GCVE-100-357831
EUVD: 🔒

Entryinfo

Created: 04/16/2026 06:44
Updated: 04/17/2026 00:58
Changes: 04/16/2026 06:44 (66), 04/16/2026 07:24 (1), 04/17/2026 00:58 (2)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!