Detect CVE-2026-41940: WebPros cPanel & WHM / WP2 Missing Authentication for Critical Function in CrowdStrike LogScale
CVE-2026-41940 is an actively exploited missing authentication vulnerability (CWE-306) in WebPros cPanel & WHM and WP2 (WordPress Squared). Unauthenticated remote attackers can invoke critical administrative functions without valid credentials, enabling account takeover, malicious plugin installation, privilege escalation, and full server compromise. This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog.
MITRE ATT&CK
LogScale Detection Query
#event_simpleName=NetworkConnectIP4
| NetworkRemotePort in (2082, 2083, 2086, 2087, 2095, 2096, 80, 443)
| HttpPath matches regex "(?i)(/json-api/|/execute/|/xmlapi/|/wp-json/)"
| HttpPath matches regex "(?i)(createacct|removeacct|passwd|addpkg|installplugin|createuser|suspendacct)"
| HttpResponseCode >= 200 and HttpResponseCode < 400
| not HttpRequestHeaders matches regex "(?i)authorization:\s*\S+"
| groupBy([RemoteAddressIP4, LocalAddressIP4, HttpPath, HttpMethod, HttpResponseCode], function=count())
| rename(field=count, as=RequestCount)
| sort(RequestCount, order=desc)
| eval CVE="CVE-2026-41940"
| eval Tactic="Initial Access"
| eval Technique="T1190 - Exploit Public-Facing Application" CrowdStrike Falcon LogScale CQL query detecting CVE-2026-41940 exploitation patterns: unauthenticated HTTP requests to cPanel and WP2 critical function endpoints on standard cPanel management ports, correlating with successful server responses.
Data Sources
Required Tables
False Positives & Tuning
- cPanel-internal health monitoring processes that communicate on management ports without standard Authorization headers
- Hosting provider automation using proprietary auth mechanisms not captured in standard HTTP header telemetry
- Port scanners or vulnerability scanners performing authenticated discovery that strip headers on certain probe types
Other platforms for CVE-2026-41940
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1CVE-2026-41940 Unauthenticated cPanel Account Creation via JSON API
Expected signal: HTTP POST request to /json-api/createacct on port 2086 with HTTP 200 response and no Authorization header in web server access logs; corresponding cPanel audit log entry for account creation
- Test 2CVE-2026-41940 Unauthenticated Password Change via WHM XMLAPI
Expected signal: HTTP GET request to /xmlapi/passwd on port 2086 with HTTP 200 response visible in cPanel access logs; no session cookie or API token in request headers; cPanel audit log records password change event
- Test 3CVE-2026-41940 Unauthenticated WP2 Plugin Installation via WordPress REST API
Expected signal: HTTP GET and POST requests to /wp-json/wp/v2/plugins with HTTP 200/201 responses in web server access logs; WordPress debug log records plugin installation event; file system activity shows new directory creation under wp-content/plugins/
Unlock Pro Content
Get the full detection package for CVE-2026-41940 including response playbook, investigation guide, and atomic red team tests.