CVE-2026-77879: 
Control Web Panel vulnerability analysis and mitigation

Overview

CVE-2026-77879 is a SQL injection vulnerability in Control Web Panel (CWP) affecting the loopback API authentication gate's access_token() function. All versions of CWP prior to webpanel_version 1.16 are affected. The vulnerability was published on November 2, 2026, with a patch released in version 1.16. It carries a CVSS v3.1 base score of 7.1 (High) and a CVSS v4.0 base score of 8.5 (High) (GitHub Advisory, Feedly).

Technical details

The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), classified as a classic SQL injection flaw. The vulnerable access_token() function connects to MySQL using root-level credentials and directly interpolates attacker-controlled values from the authorization_code and client_id parameters into SQL queries without sanitization or parameterization. This allows an attacker with local access to inject arbitrary SQL, read the entire MySQL database contents, and forge the authentication result to bypass the API's authentication check. VulnCheck published a technical advisory and blog post detailing the vulnerability mechanics (GitHub Advisory, VulnCheck Advisory).

Impact

Successful exploitation allows an attacker to read arbitrary contents from the CWP MySQL database (running as root), exposing sensitive configuration data, credentials, and user information. Additionally, the attacker can forge authentication tokens to bypass the loopback API's authentication controls entirely, potentially enabling further privilege escalation or chaining with other vulnerabilities for root-level remote code execution. Availability is not directly impacted, but the combination of high confidentiality and integrity impact makes this a significant risk for any CWP deployment (GitHub Advisory, VulnCheck Blog).

Exploitability

The NVD SSVC assessment indicates a proof-of-concept (PoC) exists for this vulnerability, though no public PoC repository has been explicitly identified in available sources. There is no confirmed evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.23% (12th percentile), suggesting a relatively low near-term exploitation probability. The CVE status is marked as "Deferred" and it has not been added to the CISA KEV catalog. Notably, this vulnerability has been discussed in the context of a broader CWP vulnerability chain leading to pre-authenticated root RCE (VulnCheck Blog, Feedly).

Exploitation steps

  1. Reconnaissance: Identify a target system running Control Web Panel (CWP) with webpanel_version earlier than 1.16. Confirm the loopback API is accessible on the target host.
  2. Locate the vulnerable endpoint: Target the loopback API authentication endpoint that invokes the access_token() function, which accepts authorization_code and client_id parameters.
  3. Craft SQL injection payload: Construct a malicious SQL payload within the authorization_code or client_id parameter. For example, inject a UNION-based or boolean-based payload to manipulate the SQL query executed by the root MySQL connection (e.g., ' OR '1'='1 or a UNION SELECT to extract data).
  4. Bypass authentication: Submit the crafted request to the loopback API. The injected SQL causes the authentication check to return a forged positive result, granting API access without valid credentials.
  5. Extract database contents: Use additional SQL injection payloads to enumerate and dump database tables, extracting credentials, tokens, or configuration data stored in the CWP MySQL database.
  6. Chain for further exploitation: Use extracted credentials or forged tokens to escalate privileges or chain with other CWP vulnerabilities (e.g., module dispatch flaws) to achieve root-level remote code execution on the server (VulnCheck Blog, GitHub Advisory).

Indicators of compromise

  • Network: Unusual or repeated requests to the CWP loopback API endpoint with anomalous or oversized authorization_code or client_id parameter values; SQL metacharacters (e.g., single quotes, UNION, SELECT, OR) present in API request parameters.
  • Logs: CWP API access logs showing malformed or unusually long parameter values in authentication requests; MySQL error logs indicating SQL syntax errors or unexpected query structures originating from the CWP process.
  • Database: Unexpected queries in MySQL general query log involving UNION SELECT, information_schema lookups, or other enumeration patterns executed by the CWP application user (root).
  • Process: Unexpected child processes spawned from the CWP web server process following API authentication events, particularly if vulnerability chaining for RCE is attempted (VulnCheck Blog).

Mitigation and workarounds

Upgrade Control Web Panel to webpanel_version 1.16 or later, which addresses the SQL injection vulnerability in the access_token() function (GitHub Advisory, CWP Changelog). As a defense-in-depth measure, restrict access to the loopback API using network access controls (e.g., firewall rules limiting access to trusted systems only). Additionally, consider running the MySQL service with a least-privilege account rather than root to limit the impact of any SQL injection exploitation.

Community reactions

VulnCheck published both a dedicated advisory and a blog post analyzing CVE-2026-77879 in the context of a broader CWP vulnerability chain that can lead to pre-authenticated root RCE, drawing attention to the severity of chaining multiple CWP flaws (VulnCheck Blog). Security researcher Chocapikk published a detailed write-up on the pre-auth module dispatch RCE chain involving this vulnerability (Chocapikk Blog). Coverage also appeared on SecurityOnline and Daily Security Review, highlighting the risk of chaining ten CWP flaws into a root RCE with a public PoC (Daily Security Review).

Additional resources


Source: This 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-2026-124021CRITICAL9.2
  • Control Web Panel logoControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
NoYesNov 13, 2026
CVE-2026-124020CRITICAL9.2
  • Control Web Panel logoControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
NoYesNov 13, 2026
CVE-2026-77880HIGH8.5
  • Control Web Panel logoControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
NoYesNov 02, 2026
CVE-2026-77879HIGH8.4
  • Control Web Panel logoControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
NoYesNov 02, 2026
CVE-2026-77881MEDIUM6.8
  • Control Web Panel logoControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
NoYesNov 02, 2026

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

Additional Wiz resources

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