Luanti up to 5.15.1 LuaJIT inclusion of functionality from untrusted control sphere
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.2 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in Luanti up to 5.15.1. Affected is an unknown function of the component LuaJIT. The manipulation leads to inclusion of functionality from untrusted control sphere. This vulnerability is documented as CVE-2026-40959. The attack needs to be performed locally. There is not any exploit available. It is suggested to upgrade the affected component.
Details
A vulnerability, which was classified as problematic, has been found in Luanti up to 5.15.1. This issue affects an unknown code of the component LuaJIT. The manipulation with an unknown input leads to a inclusion of functionality from untrusted control sphere vulnerability. Using CWE to declare the problem leads to CWE-829. The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
Luanti 5 before 5.15.2, when LuaJIT is used, allows a Lua sandbox escape via a crafted mod.
It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2026-40959 since 04/16/2026. The exploitation is known to be easy. Attacking locally is a requirement. The technical details are unknown and an exploit is not publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 306677 (Linux Distros Unpatched Vulnerability : CVE-2026-40959), 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 53cef183e2a85a4daff84ac1a9a7946f940da8f8 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 (306677) and EUVD (EUVD-2026-23149). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.2
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 9.3
CNA Vector (MITRE): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Inclusion of functionality from untrusted control sphereCWE: CWE-829
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 306677
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-40959
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Luanti 5.15.2
Patch: 53cef183e2a85a4daff84ac1a9a7946f940da8f8
Timeline
04/16/2026 Advisory disclosed04/16/2026 CVE reserved
04/16/2026 VulDB entry created
04/16/2026 VulDB entry last update
Sources
Advisory: GHSA-g596-mf82-w8c3Status: Confirmed
CVE: CVE-2026-40959 (🔒)
GCVE (CVE): GCVE-0-2026-40959
GCVE (VulDB): GCVE-100-357851
EUVD: 🔒
Entry
Created: 04/16/2026 07:15Updated: 04/16/2026 22:12
Changes: 04/16/2026 07:15 (65), 04/16/2026 07:24 (1), 04/16/2026 22:12 (2)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.