---
id: CVE-2026-77879
title: Control Web Panel (CWP) < 1.16 SQL Injection via access_token() API
summary: >-
  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…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cvssSource: cna
cwe:
  - CWE-89
vendor: Control Web Panel
product: Control Web Panel
affected:
  - control_web_panel < 1.16
published: '2026-11-02'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T17:01:14.893Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-77879'
references:
  - url: 'https://control-webpanel.com/changelog'
    label: Changelog
  - url: >-
      https://www.vulncheck.com/blog/control-web-panel-pre-auth-module-dispatch-rce
    label: VulnCheck Blog
  - url: >-
      https://www.vulncheck.com/advisories/control-web-panel-cwp-sql-injection-via-access-token-api
    label: >-
      VulnCheck Advisory: Control Web Panel (CWP) < 1.16 SQL Injection via
      access_token() API
tags:
  - cve.org
epss: 0.00218
epssPercentile: 0.1241
ingestedAt: '2026-11-05T20:33:06.298Z'
---

## Overview

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.

## Affected

- `control_web_panel < 1.16`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
