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.
Published: 2026-11-02
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: Arbitrary code execution as root
Action: Immediate Patch
AI Analysis

Impact

A loopback API endpoint in Control Web Panel versions prior to 1.30 disallows validation of the 'user' parameter before passing it to a shell_exec call. The consequence is an OS command injection that can be triggered by any unauthenticated client. 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.6 places this flaw in the high‑severity category, and although EPSS data is missing, 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.

Generated by OpenCVE AI on November 2, 2026 at 16:21 UTC.

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 2, 2026 at 16:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 02 Nov 2026 15:45:00 +0000

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'}


Mon, 02 Nov 2026 15:30:00 +0000

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'}


Subscriptions

Control-webpanel Webpanel
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-02T15:36:24.077Z

Reserved: 2026-10-01T18:02:50.084Z

Link: CVE-2026-104080

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-02T16:17:22.740

Modified: 2026-11-02T16:17:22.740

Link: CVE-2026-104080

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-02T16:30:18Z

Weaknesses
  • CWE-78

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