CVE-2026-104080

Control Web Panel (CWP) < 1.29 OS Command Injection via valid_token

Published Nov 2, 2026 CVSS 4.0 · 8.5 High EPSS 1.2% KEV · Not listed
Description
Control Web Panel (CWP) before webpanel_version 1.29 contains an OS command injection vulnerability in the loopback API /valid_token/ route that allows unauthenticated attackers to execute arbitrary commands as root by injecting shell metacharacters into the unvalidated 'user' parameter. Attackers can send a crafted request to the /valid_token/ route, which passes the parameter unescaped into a shell_exec() call.

Analysis

AI-generated

Technical impact

A loopback API endpoint in Control Web Panel versions prior to 1.29 disallows validation of the 'user' parameter before passing it to a shell_exec call. The vulnerability allows unauthenticated attackers to execute arbitrary commands as root by injecting shell metacharacters into the unvalidated 'user' parameter. Successful exploitation yields execution of arbitrary shell commands with the privileges of the web server process, effectively granting root access to the underlying operating system and compromising confidentiality, integrity, and availability of the entire host.

Affected Systems

All installations of Control Web Panel older than version 1.30 are affected. Administrators should verify the exact installed version and upgrade when possible.

Risk and Exploitability

The CVSS score of 8.5 places this flaw in the high‑severity category, and the EPSS score of 1% indicates a low but non‑zero exploitation probability. The lack of authentication requirements and the use of a web API suggests that a remote attacker could trigger it by sending a crafted HTTP request to /valid_token/. The vulnerability is not listed in CISA’s KEV catalog, but the root‑level code execution capability indicates a high exploitation likelihood if the panel is exposed to the network.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Control Web Panel to version 1.30 or later
  • If an upgrade is not immediately possible, restrict network access to the /valid_token/ endpoint by configuring firewall rules or disabling the loopback API if it is not required
  • Implement input validation or remove the vulnerable shell_exec usage in the application code, ensuring that command execution is strictly controlled

Generated by OpenCVE AI on November 3, 2026 at 18:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Control Web Panel (CWP) before webpanel_version 1.30 contains an OS command injection vulnerability in the loopback API /valid_token/ route that allows unauthenticated attackers to execute arbitrary commands as root by injecting shell metacharacters into the unvalidated 'user' parameter. Attackers can send a crafted request to the /valid_token/ route, which passes the parameter unescaped into a shell_exec() call. Control Web Panel (CWP) before webpanel_version 1.29 contains an OS command injection vulnerability in the loopback API /valid_token/ route that allows unauthenticated attackers to execute arbitrary commands as root by injecting shell metacharacters into the unvalidated 'user' parameter. Attackers can send a crafted request to the /valid_token/ route, which passes the parameter unescaped into a shell_exec() call.
Title Control Web Panel (CWP) < 1.30 OS Command Injection via valid_token Control Web Panel (CWP) < 1.29 OS Command Injection via valid_token
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Type Values Removed Values Added
Description Control Web Panel (CWP) before webpanel_version 1.30 contains an OS command injection vulnerability in the loopback API /valid_token/ route that allows unauthenticated attackers to execute arbitrary commands as root by injecting shell metacharacters into the unvalidated 'user' parameter. Attackers can send a crafted request to the /valid_token/ route, which passes the parameter unescaped into a shell_exec() call, to achieve full root-level remote code execution on the underlying system. Control Web Panel (CWP) before webpanel_version 1.30 contains an OS command injection vulnerability in the loopback API /valid_token/ route that allows unauthenticated attackers to execute arbitrary commands as root by injecting shell metacharacters into the unvalidated 'user' parameter. Attackers can send a crafted request to the /valid_token/ route, which passes the parameter unescaped into a shell_exec() call.
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Type Values Removed Values Added
Description Control Web Panel (CWP) before webpanel_version 1.30 contains an OS command injection vulnerability in the loopback API /valid_token/ route that allows unauthenticated attackers to execute arbitrary commands as root by injecting shell metacharacters into the unvalidated 'user' parameter. Attackers can send a crafted request to the /valid_token/ route, which passes the parameter unescaped into a shell_exec() call, to achieve full root-level remote code execution on the underlying system.
Title Control Web Panel (CWP) < 1.30 OS Command Injection via valid_token
First Time appeared Control-webpanel
Control-webpanel webpanel
Weaknesses CWE-78
CPEs cpe:2.3:a:control-webpanel:webpanel:*:*:*:*:*:*:*:*
Vendors & Products Control-webpanel
Control-webpanel webpanel
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 7, 2026, 12:25 AM
Reserved
Oct 1, 2026, 6:02 PM
Status
Deferred
Published
Nov 2, 2026, 4:17 PM
Modified
Nov 7, 2026, 1:17 AM