CVE-2026-77879

Control Web Panel (CWP) < 1.16 SQL Injection via access_token() API

Published Nov 2, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
Description
Control Web Panel (CWP) before webpanel_version 1.16 contains a SQL injection vulnerability in the loopback API authentication gate access_token(), which connects to MySQL as root and interpolates attacker-controlled values directly into its query. Attackers can inject SQL through the authorization_code and client_id parameters to read arbitrary database contents and forge the authentication result, bypassing the API's authentication check.

Analysis

AI-generated

Technical impact

Control Web Panel, pre‑version 1.16, contains a susceptible endpoint in its loopback API authentication gate access_token(). The code opens a MySQL connection as root and directly interpolates attacker‑controlled "authorization_code" and "client_id" values into an SQL query. This allows an attacker to craft malicious input that modifies the query, resulting in arbitrary read of database contents and the ability to forge authentication results. The impact is a breach of confidentiality and integrity of stored data, with the potential to compromise the entire management interface if the attacker can obtain privileged access to the database.

Affected Systems

The vulnerability is present in all installations of Control Web Panel versions earlier than 1.16, regardless of the underlying operating system. Any system running an affected CWP instance that exposes the access_token() API to external traffic is at risk.

Risk and Exploitability

The CVSS score of 8.4 classifies this flaw as high severity. The EPSS score is 0.00232, indicating a very low probability of exploitation, but the vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an unauthenticated or weakly authenticated user sending crafted requests to the access_token() endpoint over a network that can reach the CWP API, such as an exposed web service or internal network with insecure segmentation. If the attacker can reach the API, they can execute the injection without needing additional privileges beyond the API scope, making exploitation straightforward for a motivated adversary.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Control Web Panel to version 1.16 or later to apply the vendor’s fix for the access_token() SQL injection.
  • If an upgrade cannot be performed immediately, restrict external access to the access_token() endpoint by configuring firewall rules or web server access controls so that only trusted IPs or internal interfaces can reach the API.
  • Modify the MySQL configuration to use a non‑root user for all application connections, and enforce strong, unique passwords for all database accounts.

Generated by OpenCVE AI on November 3, 2026 at 19:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Type Values Removed Values Added
First Time appeared Control Web Panel
Control Web Panel control Web Panel
Vendors & Products Control Web Panel
Control Web Panel control Web Panel
Type Values Removed Values Added
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Type Values Removed Values Added
Description Control Web Panel (CWP) before webpanel_version 1.16 contains a SQL injection vulnerability in the loopback API authentication gate access_token(), which connects to MySQL as root and interpolates attacker-controlled values directly into its query. Attackers can inject SQL through the authorization_code and client_id parameters to read arbitrary database contents and forge the authentication result, bypassing the API's authentication check.
Title Control Web Panel (CWP) < 1.16 SQL Injection via access_token() API
First Time appeared Control-webpanel
Control-webpanel webpanel
Weaknesses CWE-89
CPEs cpe:2.3:a:control-webpanel:webpanel:*:*:*:*:*:*:*:*
Vendors & Products Control-webpanel
Control-webpanel webpanel
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 7, 2026, 12:24 AM
Reserved
Aug 21, 2026, 3:33 PM
Status
Deferred
Published
Nov 2, 2026, 4:17 PM
Modified
Nov 7, 2026, 1:17 AM