CVE-2026-40960 Security feature bypass in Luanti

High 8.1 Published Updated

A crafted mod can bypass security restrictions to access insecure environments and HTTP APIs in Luanti, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-40960?

CVE-2026-40960 is a high-severity vulnerability in Luanti, published on 16 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-670

Which versions are affected by CVE-2026-40960?

How do I fix CVE-2026-40960?

Upgrade to a fixed version.

Is CVE-2026-40960 being exploited?

There is no known exploitation of CVE-2026-40960 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-40960, GHSA-22c4-238c-m5j4, GHSA-6v58-5584-rv99, UBUNTU-CVE-2026-40960.

Is CVE-2026-40960 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free