{"id":"CVE-2026-77879","kind":"vulnerability","aliases":["CVE-2026-77879"],"related":[],"title":"Control Web Panel: SQL injection in loopback API lets attackers bypass authentication","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.","summary":"Control Web Panel (CWP) before webpanel_version 1.16 builds a MySQL query from the authorization_code and client_id parameters without escaping them. An attacker can inject SQL to read arbitrary database contents and forge the API's authentication result.","severity":"high","cvss":8.5,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["control-web-panel","cwp","hosting-panel","infrastructure","mysql","self-hosted"],"not_affected_if":["version-1.16-or-later"],"how_to_check":"- Check the installed CWP version against `webpanel_version` in the panel's configuration; versions below `1.16` are listed as affected.\n- Confirm whether the loopback API authentication path is reachable from outside the server, which the sources do not state.","fix":"- Move Control Web Panel to `webpanel_version` `1.16` or later.","status":"open","published_at":"2026-11-02T16:17:43+00:00","first_seen_at":"2026-11-02T16:24:04+00:00","triaged_at":"2026-11-02T16:26:23+00:00","updated_at":"2026-11-02T16:26:23+00:00","category":"infrastructure","confidence":0.6,"triage":{"at":"2026-11-02T16:26:23Z","model":"claude-haiku-5-5","output":{"fix":"- Move Control Web Panel to `webpanel_version` `1.16` or later.","reach":"unknown","title":"Control Web Panel: SQL injection in loopback API lets attackers bypass authentication","impact":"high","summary":"Control Web Panel (CWP) before webpanel_version 1.16 builds a MySQL query from the authorization_code and client_id parameters without escaping them. An attacker can inject SQL to read arbitrary database contents and forge the API's authentication result.","audience":"businesses","category":"infrastructure","nicknames":[],"who_cares":["control-web-panel","cwp","mysql","self-hosted","hosting-panel"],"confidence":0.6,"fix_status":"available","needs_auth":"unknown","worst_case":"Attacker reads database contents and bypasses API authentication entirely","analyst_note":"Confirm from the vulncheck advisory whether the loopback API is reachable remotely and what the exact fixed version is.","how_to_check":"- Check the installed CWP version against `webpanel_version` in the panel's configuration; versions below `1.16` are listed as affected.\n- Confirm whether the loopback API authentication path is reachable from outside the server, which the sources do not state.","plain_action":"","needs_analyst":true,"not_affected_if":["version-1.16-or-later"],"who_is_affected":"Servers running Control Web Panel before version 1.16. The flaw sits in the loopback API authentication check, which connects to MySQL as root, so the impact depends on whether that API path can be reached by an attacker. The sources do not say whether the exposure requires a particular configuration.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000714,"input_tokens":4189,"output_tokens":591,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-2026':14A,17A '-77879':15A,18A '1.16':39B,79C 'access':91C 'api':8A,68B,88C,133C 'arbitrari':62B,123C 'attack':10A,56B,102C,109C 'attacker-control':101C 'authent':12A,70B,89C,129C,135C 'author':46B,115C 'build':40B 'bypass':11A,131C 'check':136C 'client':49B,118C 'code':47B,116C 'connect':94C 'contain':80C 'content':64B,125C 'control':1A,20B,32B,72C,103C 'control-web-panel':19B 'cve':13A,16A 'cwp':23B,35B,75C 'databas':63B,124C 'direct':105C 'escap':53B 'forg':66B,127C 'gate':90C 'host':25B,31B 'hosting-panel':24B 'id':50B,119C 'infrastructur':27B 'inject':5A,58B,83C,111C 'interpol':100C 'let':9A 'loopback':7A,87C 'mysql':28B,42B,96C 'panel':3A,22B,26B,34B,74C 'paramet':51B,120C 'queri':43B,108C 'read':61B,122C 'result':71B,130C 'root':98C 'self':30B 'self-host':29B 'sql':4A,59B,82C,112C 'token':92C 'valu':104C 'version':38B,78C 'vulner':84C 'web':2A,21B,33B,73C 'webpanel':37B,77C 'without':52B","nicknames":[],"mitigations":[],"who_affected":"Servers running Control Web Panel before version 1.16. The flaw sits in the loopback API authentication check, which connects to MySQL as root, so the impact depends on whether that API path can be reached by an attacker. The sources do not say whether the exposure requires a particular configuration.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["controlwebpanel","cwp","high","hostingpanel","infrastructure","mysql","selfhosted"],"first_public_at":"2026-11-02T16:17:43+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-77879","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77879","severity":null,"published_at":"2026-11-02T16:17:43+00:00","modified_at":"2026-11-02T16:17:43+00:00","first_seen_at":"2026-11-02T16:24:04+00:00","fetched_at":"2026-11-02T16:24:04+00:00","note":null}],"documents":[{"id":52774,"url":"https://www.vulncheck.com/advisories/control-web-panel-cwp-sql-injection-via-access-token-api","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}