# CVE-2026-40959: Luanti 5 before 5.15.2, when LuaJIT is used, allows a Lua sandbox escape via a crafted mod.

- Severity: Critical 9.3 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-02)
- Published: 2026-04-16T00:51:19.520Z
- Modified: 2026-06-17T10:45:56.220Z
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

Luanti 5 before 5.15.2, when LuaJIT is used, allows a Lua sandbox escape via a crafted mod.

(As written by CVE List.)

## Affected

- Luanti Luanti: from 5.0.0 before 5.15.2

## References

- <https://github.com/luanti-org/luanti/security/advisories/GHSA-g596-mf82-w8c3>
- <https://github.com/luanti-org/luanti/commit/8a929dfb97aa08337f49ba1bb96a56d6557dc896>
- <https://github.com/luanti-org/luanti/commit/53cef183e2a85a4daff84ac1a9a7946f940da8f8>

## Sources

- CVE List: [CVE-2026-40959](https://www.cve.org/CVERecord?id=CVE-2026-40959), CVE Terms of Use, modified 2026-04-16
- NVD: [CVE-2026-40959](https://nvd.nist.gov/vuln/detail/CVE-2026-40959), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-40959 · Whole record: https://cve.day/CVE-2026-40959.json · Rebuilt by cve.day 2026-11-25T22:59:18.886Z
