CVE-2026-131924 in LiteSpeed Web Server
Summary
by MITRE • 11/30/2026
LiteSpeed Web Server (LSWS) before 6.3.7 build 10 allows a shared-hosting tenant to execute code under a specific unintended account, which might have important privileges. Specifically, it mishandles PHP script handler selection after a per-directory configuration file (.htaccess) is removed or renamed, letting a low-privileged tenant execute code as the server-level script handler account instead of their own.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 11/30/2026
The vulnerability identified in LiteSpeed Web Server prior to version 6.3.7 build 10 represents a critical privilege escalation flaw within shared hosting environments. This issue stems from an improper handling of PHP script handler selection logic when per-directory configuration files, specifically .htaccess files, are removed or renamed by users with write access to those directories. In typical shared hosting architectures, multiple tenants reside on the same server instance but operate under isolated user accounts to ensure security boundaries between different customers. The web server is responsible for mapping incoming requests to the correct execution context based on configuration directives found in these per-directory files. When a tenant modifies or deletes their .htaccess file, which often contains specific PHP handler settings such as suPHP or LSAPI configurations intended to restrict code execution to that user's permissions, the server fails to correctly revert to or maintain the default secure state for subsequent requests directed at that directory.
This logic error allows an attacker with low-privileged access within a shared hosting account to execute arbitrary PHP scripts under the context of the server-level script handler account rather than their own restricted user identity. The server-side script handler typically operates with elevated privileges necessary to interact with system resources, databases, or other services that are inaccessible to standard web users. By exploiting this misconfiguration state triggered by file manipulation, an attacker can bypass isolation mechanisms designed to prevent cross-tenant interference. This effectively breaks the fundamental security model of multi-tenancy, allowing a compromised low-level account to gain administrative-like capabilities on the host system. The flaw is particularly dangerous because it does not require complex exploitation techniques or external dependencies; simply renaming or deleting a configuration file can trigger the condition that leads to privilege escalation.
The operational impact of this vulnerability is severe for any organization relying on LiteSpeed Web Server for shared hosting services. An attacker who successfully exploits this issue could achieve remote code execution with elevated privileges, leading to full compromise of the underlying server infrastructure. This includes potential access to sensitive data belonging to other tenants hosted on the same machine, modification or deletion of critical system files, and use of the compromised host as a pivot point for further attacks against internal networks. The ability to execute code under an unintended account undermines integrity, confidentiality, and availability guarantees provided by secure hosting environments. Furthermore, because this behavior is triggered by standard file operations that legitimate users might perform during routine maintenance or misconfiguration attempts, it may go unnoticed until significant damage has occurred, complicating incident response efforts.
Mitigation strategies must focus on immediate patching and configuration hardening. Administrators should upgrade LiteSpeed Web Server to version 6.3.7 build 10 or later, where this logic error in PHP handler selection has been corrected to ensure that the server correctly defaults to secure execution contexts when per-directory configurations are absent. In addition to upgrading, organizations should enforce strict file permission policies on .htaccess files and related configuration directories to prevent unauthorized users from deleting or renaming these critical control files. Implementing mandatory access controls such as SELinux or AppArmor can further restrict what actions low-privileged processes can perform regarding system-level configuration changes. Regular auditing of server logs for unusual patterns in file modifications within web root directories can also aid in early detection of exploitation attempts. Security teams should review their hosting configurations to ensure that default PHP handlers are set securely and do not inadvertently grant excessive privileges when specific per-directory directives are missing or altered unexpectedly.