{"id":"CVE-2026-40959","details":"Luanti 5 before 5.15.2, when LuaJIT is used, allows a Lua sandbox escape via a crafted mod.","aliases":["CVE-2026-41196","GHSA-g596-mf82-w8c3"],"modified":"2026-07-08T08:26:15.905352957Z","published":"2026-04-16T00:51:19.520Z","database_specific":{"cna_assigner":"mitre","cwe_ids":["CWE-829"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40959.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40959.json"},{"type":"ADVISORY","url":"https://github.com/luanti-org/luanti/security/advisories/GHSA-g596-mf82-w8c3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40959"},{"type":"FIX","url":"https://github.com/luanti-org/luanti/commit/53cef183e2a85a4daff84ac1a9a7946f940da8f8"},{"type":"FIX","url":"https://github.com/luanti-org/luanti/commit/8a929dfb97aa08337f49ba1bb96a56d6557dc896"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/luanti-org/luanti","events":[{"introduced":"f9d1810b1e763a6c0a47ff30bd83d7903d3d614f"},{"fixed":"044ab8a35be38593aefd8fdde9601cc44754f3cc"}],"database_specific":{"extracted_events":[{"introduced":"5.0.0"},{"fixed":"5.15.2"}],"source":"AFFECTED_FIELD"}}],"versions":["5.15.1","5.15.0","5.15.0-rc1","5.14.0","5.14.0-rc1","5.13.0","5.12.0","5.11.0","5.11.0-rc1","5.10.0","5.10.0-rc1","5.9.0","5.8.0","5.7.0","5.6.0","5.5.0","5.4.0","5.3.0","5.2.0","5.1.0","5.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40959.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}