The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-40960

CVE-2026-40960: Luanti 5 Auth Bypass Vulnerability

CVE-2026-40960 is an authentication bypass flaw in Luanti 5 before 5.15.2 that allows crafted mods to intercept requests and gain unintended access. This article covers technical details, affected versions, and mitigations.

Published: April 17, 2026

CVE-2026-40960 Overview

CVE-2026-40960 is an authorization bypass vulnerability in Luanti (formerly known as Minetest) versions prior to 5.15.2. The vulnerability allows unintended access to an insecure environment when at least one mod is configured in secure.trusted_mods or secure.http_mods. A crafted malicious mod can intercept requests for the insecure environment or HTTP API, gaining unauthorized access to these privileged interfaces.

Critical Impact

Malicious mods can bypass security boundaries to access the insecure environment and HTTP API, potentially enabling arbitrary code execution or unauthorized network communications within Luanti installations.

Affected Products

  • Luanti versions prior to 5.15.2
  • Installations with at least one mod configured in secure.trusted_mods
  • Installations with at least one mod configured in secure.http_mods

Discovery Timeline

  • 2026-04-16 - CVE CVE-2026-40960 published to NVD
  • 2026-04-16 - Last updated in NVD database

Technical Details for CVE-2026-40960

Vulnerability Analysis

This vulnerability stems from CWE-670 (Always-Incorrect Control Flow Implementation), indicating a fundamental flaw in how Luanti handles mod security boundaries. The insecure environment and HTTP API in Luanti are designed to be restricted resources, accessible only to explicitly trusted mods. However, due to improper control flow in the request handling mechanism, a crafted mod can position itself to intercept these privileged requests.

When a legitimate trusted mod attempts to access the insecure environment or HTTP API, the vulnerability allows a malicious mod to hijack this request. The attacking mod not only intercepts the request but also receives the privileged access that was intended for the trusted mod. This breaks the security model that Luanti relies upon to isolate potentially dangerous functionality from untrusted code.

The local attack vector with high attack complexity indicates that exploitation requires the attacker to have already introduced a malicious mod into the Luanti installation, though no privileges are required for the exploit to succeed.

Root Cause

The root cause lies in improper control flow implementation (CWE-670) within Luanti's mod security architecture. The mechanism responsible for routing requests to the insecure environment and HTTP API fails to properly validate and authenticate which mod is making the request. This allows a malicious mod to intercept and inherit the security context of a legitimately trusted mod, bypassing the intended access controls.

Attack Vector

The attack requires local access to install a malicious mod on a Luanti instance that has at least one mod configured as trusted. The attack unfolds as follows:

  1. The attacker creates a malicious mod designed to intercept insecure environment or HTTP API requests
  2. The malicious mod is installed alongside at least one legitimately trusted mod
  3. When the trusted mod attempts to access privileged resources, the malicious mod intercepts the request
  4. The malicious mod gains the same privileged access that was intended for the trusted mod
  5. The attacker can now execute code in the insecure environment or access the HTTP API without authorization

The vulnerability allows the malicious mod to achieve scope change, potentially affecting resources beyond its normal security boundary, which can result in high impacts to confidentiality, integrity, and availability.

Detection Methods for CVE-2026-40960

Indicators of Compromise

  • Unexpected mod activity accessing the insecure environment or HTTP API
  • Mods exhibiting behavior inconsistent with their stated functionality
  • Unusual network connections originating from Luanti processes
  • Log entries showing multiple mods accessing privileged resources in quick succession

Detection Strategies

  • Monitor Luanti configuration files for unauthorized additions to secure.trusted_mods or secure.http_mods
  • Audit installed mods against known-good checksums or signatures
  • Implement file integrity monitoring on the Luanti mods directory
  • Review Luanti logs for suspicious patterns of insecure environment or HTTP API access

Monitoring Recommendations

  • Enable verbose logging for Luanti mod activities when running in sensitive environments
  • Establish baseline behavior for trusted mods to detect anomalous access patterns
  • Monitor network traffic from Luanti processes for unexpected HTTP API usage
  • Implement periodic mod directory audits to detect unauthorized mod installations

How to Mitigate CVE-2026-40960

Immediate Actions Required

  • Upgrade Luanti to version 5.15.2 or later immediately
  • Review all installed mods and remove any untrusted or unnecessary mods
  • Audit the secure.trusted_mods and secure.http_mods configuration settings
  • Consider temporarily disabling mod access to the insecure environment and HTTP API until patched

Patch Information

The Luanti development team has addressed this vulnerability in version 5.15.2. Two commits have been released to fix the issue:

  • GitHub Commit 0faf529
  • GitHub Commit 827fd4c

For complete details on the vulnerability and fix, refer to the GitHub Security Advisory GHSA-22c4-238c-m5j4.

Workarounds

  • If upgrading is not immediately possible, remove all mods from secure.trusted_mods and secure.http_mods to prevent exploitation
  • Only install mods from verified and trusted sources
  • Run Luanti in isolated environments with limited network access
  • Regularly audit and minimize the number of mods with elevated privileges
bash
# Configuration example - Remove trusted mod entries temporarily
# Edit your minetest.conf or luanti.conf file:
# Comment out or remove these lines until patched:
# secure.trusted_mods = 
# secure.http_mods = 

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechLuanti

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.00%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-670
  • Technical References
  • GitHub Commit 0faf529

  • GitHub Commit 827fd4c

  • GitHub Security Advisory GHSA-22c4-238c-m5j4
  • Related CVEs
  • CVE-2026-41196: Luanti (Minetest) RCE Vulnerability

  • CVE-2026-40959: Luanti 5 RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English