CVE-2026-77879: Control Web Panel (CWP) < 1.16 SQL Injection via access_token() API
Control Web Panel (CWP) before webpanelversion 1.16 contains a SQL injection vulnerability in the loopback API authentication gate accesstoken(), which connects to MySQL as root and interpolates attacker-controlled values directly into its query. Attackers can inject SQL through the authorizationcode and clientid parameters to read arbitrary database contents and forge the authentication result, bypassing the API's authentication check.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Control Web Panel (CWP)to a version that resolves this vulnerability.Fixed in 1.16