CVE-2026-57517
Control Web Panel vulnerability analysis and mitigation

Overview

CVE-2026-57517 is a blind SQL injection vulnerability in Control Web Panel (CWP) before version 0.9.8.1225 that allows unauthenticated remote attackers to execute arbitrary SQL queries and achieve remote code execution. The vulnerability was published on July 1, 2026, with a patch released the same day. It carries a CVSS v3.1 base score of 9.8 (Critical) and a CVSS v4.0 base score of 9.3 (Critical) (GitHub Advisory, Feedly).

Technical details

The root cause is improper neutralization of SQL special elements (CWE-89) in the userRes POST parameter at the CWP user endpoint, where user-supplied input is passed directly into SQL queries without sanitization. Because the MySQL service runs with root privileges, an attacker can leverage the INTO DUMPFILE SQL function to write arbitrary files to the filesystem. This file-write primitive is used to deploy a PHP webshell into the web-accessible roundcube logs directory, ultimately achieving remote code execution as the cwpsvc service account. A fully functional Python exploit (cve_2026_57517.py) supporting single/mass targets, interactive shell mode, automatic username detection, and persistent backdoor options is publicly available (GitHub Advisory, PoC Exploit).

Impact

Successful exploitation grants an unauthenticated attacker full confidentiality, integrity, and availability impact on the affected system. The attacker can read arbitrary database contents (including credentials and configuration data), write arbitrary files to the server, and execute operating system commands as the cwpsvc account, effectively achieving full server compromise. Given that CWP is a web hosting control panel managing multiple hosted sites and services, exploitation could enable lateral movement to hosted customer environments and mass data exfiltration (GitHub Advisory, Feedly).

Exploitability

A fully functional, high-confidence proof-of-concept Python exploit is publicly available on GitHub as of July 4, 2026, supporting automated mass scanning and interactive RCE shell capabilities (PoC Exploit). The vulnerability is classified as automatable with total technical impact by NVD SSVC analysis. The EPSS score is approximately 0.587%, placing it in the 44th percentile for exploitation probability within 30 days. As of the time of reporting, there is no confirmed evidence of in-the-wild exploitation or CISA KEV catalog listing, though the availability of a weaponized exploit significantly elevates risk (GitHub Advisory, Feedly).

Exploitation steps

  1. Reconnaissance: Identify internet-facing Control Web Panel instances running versions before 0.9.8.1225 using tools like Shodan or Censys, searching for CWP login pages or service banners.
  2. Target the vulnerable endpoint: Send a crafted HTTP POST request to the CWP user endpoint, injecting a blind SQL payload into the userRes POST parameter.
  3. Execute blind SQL injection: Use time-based or boolean-based blind SQL injection techniques to enumerate the database and confirm MySQL root-level access. The public exploit (cve_2026_57517.py) automates payload generation and username detection.
  4. Write PHP webshell: Leverage MySQL's INTO DUMPFILE function via the SQL injection to write a PHP webshell (e.g., <?php system($_GET['cmd']); ?>) to the web-accessible roundcube logs directory (e.g., /var/www/roundcube/logs/).
  5. Achieve remote code execution: Access the deployed webshell via HTTP to execute arbitrary OS commands as the cwpsvc account, enabling interactive shell access, data exfiltration, or persistent backdoor installation (PoC Exploit, GitHub Advisory).

Indicators of compromise

  • Network: Unusual HTTP POST requests to the CWP user endpoint containing SQL metacharacters or time-delay payloads in the userRes parameter; outbound connections from the CWP server to unknown external IPs following POST activity.
  • File System: Unexpected PHP files (e.g., webshells) appearing in the roundcube logs directory (e.g., /var/www/roundcube/logs/); new or modified files owned by the cwpsvc account in web-accessible directories.
  • Logs: CWP access logs showing repeated POST requests to the user endpoint with encoded or anomalous userRes values; MySQL general query logs showing INTO DUMPFILE statements writing to web directories.
  • Process: Unusual child processes spawned by the cwpsvc account (e.g., /bin/bash, curl, wget, python) following web requests; unexpected cron jobs or scheduled tasks created under the cwpsvc user context (PoC Exploit, GitHub Advisory).

Mitigation and workarounds

Upgrade Control Web Panel to version 0.9.8.1225 or later immediately, as a patch was released on July 1, 2026 (CWP Changelog). If immediate patching is not feasible, implement network-level access controls (firewall rules, IP allowlisting) to restrict access to the CWP user endpoint from untrusted networks. Additionally, monitor POST requests to the affected endpoint for SQL injection patterns and consider enabling MySQL query logging to detect INTO DUMPFILE abuse (GitHub Advisory, Feedly).

Community reactions

The Belgium Centre for Cybersecurity (CCB) issued a warning advisory highlighting the critical CVSS score and exploitation risk (CCB Advisory). CyCognito published a threat analysis blog post covering the RCE chain via SQL injection (CyCognito Blog). The vulnerability was also covered by SecurityOnline.info and discussed in the Full Disclosure mailing list, with community attention focused on the ease of unauthenticated exploitation and the availability of a mass-scanning exploit tool (Full Disclosure, SecurityOnline).

Additional resources


SourceThis report was generated using AI

Related Control Web Panel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-42121CRITICAL9.8
  • Control Web Panel logoControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
NoYesMay 03, 2024
CVE-2026-57517CRITICAL9.3
  • Control Web Panel logoControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
NoYesJul 01, 2026
CVE-2025-48703CRITICAL9
  • Control Web Panel logoControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
YesYesSep 19, 2025
CVE-2023-42123HIGH8.8
  • Control Web Panel logoControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
NoYesMay 03, 2024
CVE-2023-42122HIGH7.8
  • Control Web Panel logoControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
NoYesMay 03, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management