---
id: CVE-2026-104080
title: Control Web Panel (CWP) < 1.29 OS Command Injection via valid_token
summary: >-
  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 me…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-78
vendor: Control Web Panel
product: Control Web Panel
affected:
  - control_web_panel < 1.29
published: '2026-11-02'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T17:01:29.839Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-104080'
references:
  - url: 'https://control-webpanel.com/changelog'
    label: Changelog
  - url: >-
      https://www.vulncheck.com/blog/control-web-panel-pre-auth-module-dispatch-rce
    label: VulnCheck Blog
  - url: >-
      https://www.vulncheck.com/advisories/control-web-panel-cwp-os-command-injection-via-valid-token
    label: >-
      VulnCheck Advisory: Control Web Panel (CWP) < 1.30 OS Command Injection
      via valid_token
tags:
  - cve.org
epss: 0.01195
epssPercentile: 0.68144
ingestedAt: '2026-11-05T20:33:06.300Z'
---

## Overview

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.

## Affected

- `control_web_panel < 1.29`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
