Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local foothold on CWP host
-
DeliveryReach loopback-bound /v1/restoredatabase/ API
-
ExploitInject shell metacharacters in POST file path
-
ExecutionrestoreDBBackup() runs command as root
-
ImpactFull root compromise of server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires reaching the loopback-bound database-restore API route /v1/restoredatabase/ - consistent with AV:L, this implies local access to the CWP host (a local account, a process on the box, or a chained path such as SSRF to 127.0.0.1), not direct internet access. Once the route is reachable, no authentication (PR:N), no user interaction (UI:N), and low complexity (AC:L) are needed: the attacker simply supplies a file path in the POST body containing shell metacharacters, which restoreDBBackup() passes unescaped to a shell running as root. Affected: CWP before webpanel_version 1.30; upgrading to 1.30 is the fix. The primary limiting factor is the local attack vector - the loopback binding prevents straightforward remote, perimeter-based exploitation. |
| Impact | This is a genuinely serious flaw tempered by one important access constraint. The impact ceiling is maximal - OS command injection (CWE-78) executing as root, reflected in the vendor CVSS 4.0 vector's VC:H/VI:H/VA:H. Critically, the vector specifies AV:L (local), not network, which aligns with the 'loopback API' wording in the description: the /v1/restoredatabase/ route is bound to the loopback interface, so an attacker must already have a local foothold on the host (or a means such as SSRF/a chained local service) to reach it - it is not directly internet-exploitable despite the description's phrasing 'an attacker able to reach the route.' That is the key signal to reconcile: raw impact is critical, but reachability is gated by local access. PR:N/UI:N/AC:L mean that once the route is reachable, exploitation is trivial and unauthenticated. No EPSS score and no CISA KEV listing are provided, and there is no confirmed public exploit, so there is no evidence of active or widespread exploitation yet. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a high-impact but local-vector issue where a patch already exists. Net: a real priority for CWP operators to patch promptly, but the local attack vector makes it a privilege-escalation/post-foothold risk rather than a mass-exploitable perimeter bug. |
| Exploit ScenarioDerived | An attacker who has already gained a low-privileged local presence on a CWP server (e.g. a compromised hosting account or a chained local/SSRF path to the loopback interface) sends a crafted POST request to the /v1/restoredatabase/ API with a malicious file path containing shell metacharacters. Because restoreDBBackup() passes this path into a shell command without escaping, the injected commands run as root, yielding full host compromise. No public exploit code is identified at time of analysis, though a VulnCheck advisory documents the flaw. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 02, 2026
OS command injection in Control Web Panel (CWP) versions before webpanel_version 1.30 lets an attacker who can reach the loopback-bound database restore API route /v1/restoredatabase/ run arbitrary operating system commands as root. The restoreDBBackup() handler takes an attacker-supplied file path from the POST body and passes it into a shell command without escaping, so shell metacharacters in that path are executed with the panel's root privileges. Exploitation is unauthenticated and requires no user interaction, but per the assessed vector (AV:L) the route is reachable only from the CWP host itself - a local account or process, or a chained path such as SSRF to 127.0.0.1 - rather than directly from the internet; no public exploit code was identified at time of analysis, and a vendor fix is available in version 1.30.
RemediationAI
Vendor-released patch: upgrade Control Web Panel to webpanel_version 1.30, which contains the fix for the unescaped file path in the restoreDBBackup() handler; confirm the installed webpanel_version before and after upgrading and review the vendor changelog at https://control-webpanel.com/changelog for the build containing the change. Until the upgrade is applied, the practical exposure control is reachability: the affected route is loopback-bound, so keep untrusted local users and co-resident processes off the CWP host and close chained paths (for example SSRF from other hosted applications) that could be used to reach 127.0.0.1 and issue a crafted POST to /v1/restoredatabase/ - note that this only reduces the attack surface and does not remove the root-level command injection once the route is reachable, so upgrading remains the complete fix. The details of the vulnerable handler are documented in the VulnCheck advisory at https://www.vulncheck.com/advisories/control-web-panel-cwp-os-command-injection-via-restoredatabase-api.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic CWE-78 OS command injection in the Control Web Panel administrative application, identified by CPE cpe:2.3:a:control_web_panel:control_web_panel (wildcard version, covering all releases before webpanel_version 1.30). CWP is a web hosting control panel that exposes a versioned internal HTTP API; the vulnerable handler restoreDBBackup() backs the /v1/restoredatabase/ route, which accepts a file path for a database backup in the POST body and interpolates it into a shell command string. Because the value is not escaped or validated, any shell metacharacters embedded in the path are interpreted by the shell executing the restore, and that shell runs as root - the panel's service account context - so injected commands inherit full system privileges. The route is bound to loopback, which is reflected in the assessed CVSS:3.1/AV:L vector: the practical prerequisite is the ability to send requests to 127.0.0.1 on the CWP host (local shell access, a co-resident process, or an SSRF-style pivot from another component), not perimeter reachability. Once the route is reachable, no authentication (PR:N), no user interaction (UI:N) and low attack complexity (AC:L) are required; the trigger itself is a single crafted POST body, and no further preconditions beyond route reachability are described in the available sources.
Know when Control Web Panel gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Loopback-bound route implies local reachability (AV:L); the route requires no authentication or interaction (PR:N/UI:N/AC:L); command execution as root yields full C:H/I:H/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Control Web Panel (CWP) before webpanel_version 1.30 contains an OS command injection vulnerability in the loopback API database restore route /v1/restoredatabase/, where the restoreDBBackup() handler passes an attacker-controlled file path from the POST body into a shell command without proper escaping. An attacker able to reach the route can inject arbitrary OS commands that execute as root.
Executive ViewAI
Control Web Panel (CWP) versions before 1.30 contain an OS command injection vulnerability that allows a local attacker or chained attack path to execute arbitrary commands as root, potentially compromising the entire server and all hosted data. While the attack vector is local, the high privilege level and unauthenticated nature of the vulnerable endpoint make this a serious risk for any organization using CWP. Leadership should prioritize patching to prevent full system compromise.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
More in Control Web Panel
View allUnauthenticated blind SQL injection in Control Web Panel (CWP) before 0.9.8.1225 lets remote attackers inject arbitrary
Unauthenticated OS command injection in Control Web Panel (CWP) builds prior to webpanel_version 1.16 lets remote attack
Control Web Panel (CWP) releases before webpanel_version 1.16 expose an OS command injection in the loopback /newpass/ p
Missing authentication in the Control Web Panel (CWP) loopback API service allows anyone who can reach the localhost-bou
Authentication bypass in Control Web Panel (CWP) builds before webpanel_version 1.12 lets remote attackers who know a si
Remote code execution in Control Web Panel (CWP) installations running a webpanel_version earlier than 1.16 allows an au
An authenticated low-privileged Control Web Panel (CWP) user can abuse path traversal in the module parameter handled by
OS command injection in Control Web Panel (CWP) versions before 1.30 lets attackers who can reach the loopback-bound /va
Unauthenticated SQL injection in Control Web Panel (CWP) before webpanel_version 1.16 allows attackers who can reach the
Time-based blind SQL injection in Control Web Panel (CWP) releases prior to webpanel_version 1.30 allows an attacker who
EUVD-2026-115245
GHSA-xxpw-8v5c-fcm7
NVD
CVE.org
Vulnrichment
Exploit-DB