---
id: "CVE-2026-124003"
page: "https://infrastack.ai/live/CVE-2026-124003"
kind: "vulnerability"
aliases: ["CVE-2026-124003"]
title: "XWEB EVO: command injection in setuid-root CGI gives root code execution"
severity: "high"
cvss: 8.5
epss: null
exploited: false
status: "open"
category: "infrastructure"
products: []
ecosystems: []
tags: ["cgi", "infrastructure", "lua", "setuid", "xweb-evo"]
not_affected_if: ["cgi-endpoints-unreachable", "not-xweb-evo"]
published_at: "2026-11-12T20:18:21+00:00"
first_seen_at: "2026-11-12T20:40:23+00:00"
updated_at: "2026-11-12T20:42:01+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124003", "first_seen_at": "2026-11-12T20:40:23+00:00"}]
exploit_sources: []
---

# XWEB EVO: command injection in setuid-root CGI gives root code execution

Link for people: https://infrastack.ai/live/CVE-2026-124003 (this .md is for agents)

XWEB EVO before 5.6.2 has a setuid-root Lua CGI interpreter, wlua, that passes unsanitized request input into a system() call. An attacker who reaches a .lua CGI endpoint can inject shell commands and run them with root privileges.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed XWEB EVO version against the fixed release, `5.6.2`.
- Look for the `wlua` binary with the setuid bit set and reachable `.lua` CGI endpoints on the web interface.

## Fix

- XWEB EVO: move to `5.6.2` or later, according to the NVD range data.
- The product line has reached end of service in March 2026, so a fixed version may not be offered; unknown beyond that.

## Timeline

- 2026-11-12T20:40:23+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124003

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/dixell-copeland-xweb-evo-setuid-lua-cgi-root-command-injection

## From the sources

XWEB EVO before 5.6.2 contains a command injection vulnerability where the setuid-root Lua CGI interpreter wlua executes system("/usr/bin/lua "+argv) on unsanitized input. Attackers can craft malicious input reached through a .lua CGI endpoint to inject arbitrary commands into the concatenated argv string, achieving command execution with root privileges. This product line reached it's end of service date in March 2026.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
