CVE-2026-40959

Lua sandbox escape via crafted module in Luanti using LuaJIT

Published Apr 16, 2026 CVSS 3.1 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
Luanti 5 before 5.15.2, when LuaJIT is used, allows a Lua sandbox escape via a crafted mod.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6217-1 luanti security update
Ubuntu USN Ubuntu USN USN-8366-1 Luanti vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Lua sandbox escape via crafted module in Luanti using LuaJIT
First Time appeared Luanti
Luanti luanti
Vendors & Products Luanti
Luanti luanti
Type Values Removed Values Added
Description Luanti 5 before 5.15.2, when LuaJIT is used, allows a Lua sandbox escape via a crafted mod.
Weaknesses CWE-829
References
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 16, 2026, 12:32 PM
Reserved
Apr 16, 2026, 12:51 AM
Status
Deferred
Published
Apr 16, 2026, 1:16 AM
Modified
Jun 17, 2026, 10:45 AM