{"id":"CVE-2026-40960","aliases":["DEBIAN-CVE-2026-40960","EUVD-2026-23151","GHSA-22c4-238c-m5j4","GHSA-6v58-5584-rv99","MGASA-2026-0185","UBUNTU-CVE-2026-40960","USN-8366-1"],"status":"published","title":"Luanti 5 before 5.15.2 sometimes allows unintended access to an insecure environment. If at least...","description":"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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00171,"percentile":0.06545,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-670"],"published":"2026-04-16T00:54:45Z","modified":"2026-10-28T10:55:11Z","fixes":[{"ecosystem":"Debian:13","package":"luanti","fixed_in":["5.10.0+dfsg-5+deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"luanti","fixed_in":["5.15.2+dfsg-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:25.10","package":"luanti","fixed_in":["5.10.0+dfsg-5+deb13u1build0.25.10.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:26.04:LTS","package":"luanti","fixed_in":["5.10.0+dfsg-5+deb13u1build0.26.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:13","package":"luanti","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.0+dfsg-5+deb13u1"}]}],"versions":["5.10.0+dfsg-5"]},{"source":"osv","ecosystem":"Debian:14","package":"luanti","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.15.2+dfsg-1"}]}],"versions":["5.10.0+dfsg-5","5.14.0+dfsg-1","5.14.0+dfsg-2","5.14.0+dfsg-3","5.15.1+dfsg-1","5.15.1+dfsg-2"]},{"source":"osv","ecosystem":"Mageia:9","package":"minetest","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.7.0-1.1.mga9"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"luanti","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.0+dfsg-5+deb13u1build0.25.10.1"}]}],"versions":["5.10.0+dfsg-5"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"luanti","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.0+dfsg-5+deb13u1build0.26.04.1"}]}],"versions":["5.10.0+dfsg-5"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"luanti","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.0+dfsg-5+deb13u1build0.25.10.1"}]}],"versions":["5.10.0+dfsg-5"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"luanti","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.0+dfsg-5+deb13u1build0.26.04.1"}]}],"versions":["5.10.0+dfsg-5"],"bundled":2}],"products":[{"vendor":"luanti","product":"luanti"},{"vendor":"luanti-org","product":"luanti"}],"references":[{"url":"https://github.com/luanti-org/luanti/security/advisories/GHSA-22c4-238c-m5j4","tags":["advisory","report"]},{"url":"https://github.com/luanti-org/luanti/commit/0faf529bc4b89e70a275ed1162047815118f2413","tags":["fix","report"]},{"url":"https://github.com/luanti-org/luanti/commit/827fd4cf7f989482b2dad381fa4afd642ea73e8c","tags":["fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40960","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6v58-5584-rv99"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40960.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-40960","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0185.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=35422","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2K6QTVDXSL7E72EYONNHDCY7I7LTD27B/","tags":["web"]},{"url":"https://lists.debian.org/debian-security-announce/2026/msg00127.html","tags":["web"]},{"url":"https://github.com/luanti-org/luanti/security/advisories/GHSA-g596-mf82-w8c3","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-40960","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40960","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8366-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-40959","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-40960","description":"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.","status":"published","published":"2026-04-16T00:54:45.935Z","modified":"2026-04-16T12:31:57.082Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-670"],"updated_at":"2026-11-02T13:43:22.599321Z"}],"euvd":[{"id":"EUVD-2026-23151","description":"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.","status":"published","published":"2026-04-16T00:54:45Z","modified":"2026-04-16T12:31:57Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T19:24:24.796113Z"}],"ghsa":[{"id":"GHSA-6v58-5584-rv99","title":"Luanti 5 before 5.15.2 sometimes allows unintended access to an insecure environment. If at least...","description":"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.","status":"published","published":"2026-04-16T03:31:06Z","modified":"2026-04-16T03:31:13Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-670"],"updated_at":"2026-11-02T15:07:31.233383Z"}],"nvd":[{"id":"CVE-2026-40960","description":"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.","status":"published","published":"2026-04-16T01:16:11.77Z","modified":"2026-06-17T10:45:56.33Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-670"],"updated_at":"2026-11-02T14:12:14.748836Z"}],"osv":[{"id":"CVE-2026-40960","description":"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.","status":"published","published":"2026-04-16T00:54:45.935Z","modified":"2026-10-28T10:55:11.922236031Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-670"],"updated_at":"2026-11-02T15:45:03.424067Z"},{"id":"DEBIAN-CVE-2026-40960","description":"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.","status":"published","published":"2026-04-16T01:16:11.77Z","modified":"2026-10-01T03:03:22.670165627Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:54.892385Z"},{"id":"UBUNTU-CVE-2026-40960","description":"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.","status":"published","published":"2026-04-16T01:16:00Z","modified":"2026-06-02T18:15:58.580979727Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:56:16.686388Z"},{"id":"MGASA-2026-0185","title":"Updated minetest packages fix security vulnerabilities","description":"Mod security sandbox escape. (CVE-2026-40959)\nHTTP API and insecure environment access control bypass.\n(CVE-2026-40960)\n","status":"published","published":"2026-06-10T00:39:41Z","modified":"2026-06-10T00:45:06.632308665Z","updated_at":"2026-11-02T15:49:43.178336Z"},{"id":"USN-8366-1","title":"luanti vulnerabilities","description":"It was discovered that Luanti, when using LuaJIT, did not properly\nenforce Lua sandbox restrictions. An attacker could possibly use\nthis issue to execute arbitrary code. (CVE-2026-40959)\n\nIt was discovered that Luanti did not properly restrict access to\ninsecure environments. An attacker could possibly use this issue to\nobtain unintended access to the insecure environment or HTTP API.\n(CVE-2026-40960)","status":"published","published":"2026-06-02T12:48:54Z","modified":"2026-06-02T18:33:04.021274908Z","updated_at":"2026-11-02T16:58:25.103481Z"}]}}
