CVE-2026-31386 Command injection in LSWS Enterprise
Administrative users can execute arbitrary OS commands on LiteSpeed web servers, potentially compromising the underlying system.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-31386?
CVE-2026-31386 is a high-severity command injection vulnerability in LiteSpeed Technologies LSWS Enterprise, published on 16 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
OpenLiteSpeed and LSWS Enterprise provided by LiteSpeed Technologies contain an OS command injection vulnerability. An arbitrary OS command may be executed by an attacker with the administrative privilege.
Weakness: CWE-78
Which versions are affected by CVE-2026-31386?
It affects 2 products.
Products include Litespeedtech Litespeed Web Server, Litespeedtech Openlitespeed.
How do I fix CVE-2026-31386?
No fix has been published for CVE-2026-31386 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-31386 being exploited?
There is no known exploitation of CVE-2026-31386 in the wild and no public exploit code.
Other vulnerabilities in LiteSpeed Technologies LSWS Enterprise
Sources
Also known as GHSA-3gr9-8p27-7f3p.