CVE-2026-41940: protect hosting administration and investigate session abuse
Executive summary
cPanel released updates on 28 April for CVE-2026-41940, an authentication bypass in the session-management layer of cPanel & WHM, including DNSOnly and affected WP Squared releases. A crafted request can make an unauthenticated session be treated as authenticated. [1] [2] ASD’s 1 May alert confirms active exploitation in Australia, so exposed unpatched servers need investigation as well as an update. [4]
An attacker who obtains an authenticated control-panel session may be able to administer websites, accounts, databases, and other services on the hosting server. Investigate the session’s actual privileges and resulting changes to identify affected tenants. A shared host can create broad exposure without every site necessarily being compromised.
Recommended action: Update to the corrected build for the installed branch, restart cpsrvd, and verify the result. Investigate suspicious sessions and tenant changes. For managed hosting or pinned updates, work with the operator to confirm the actual server build, restart time, and any remaining upgrade blockers.
Affected systems and versions
| Product | Affected releases | Fixed release |
|---|---|---|
| cPanel & WHM, including DNSOnly | Unpatched releases after 11.40 | Use the branch-specific corrected build below |
| WP Squared | Affected releases through 136.1.6 | 136.1.7 or the applicable vendor-confirmed successor |
Pinned updates and end-of-life operating systems may need a separate upgrade procedure. For provider-managed hosting, obtain the actual server build and service-restart confirmation from the operator. [2]
Fixed cPanel & WHM builds
The vendor’s 22 May notice lists the following corrected builds for each branch. Compare versions within the installed branch; WP Squared has the separate 136.1.7 target above. [2]
| cPanel & WHM branch | Fixed build floor |
|---|---|
| 11.86 | 11.86.0.41 |
| 11.94 | 11.94.0.28 |
| 11.102 | 11.102.0.39 |
| 11.110 | 11.110.0.97 |
| 11.118 | 11.118.0.63 |
| 11.124 | 11.124.0.35 |
| 11.126 | 11.126.0.54 |
| 11.130 | 11.130.0.19 |
| 11.132 | 11.132.0.29 |
| 11.134 | 11.134.0.20 |
| 11.136 | 11.136.0.5 |
CentOS 6 and CloudLinux 6 have a separate 11.110.0.103 update path in the notice. Follow that platform-specific procedure and plan migration from the obsolete operating system. Emergency backports do not restore ongoing platform support. [2]
Recommended actions
- Inventory cPanel, WHM, DNSOnly, and WP Squared hosts, including reseller and provider-managed systems. Name the hosting owner and the tenant-service owners.
- Record exact builds, update configuration, service exposure, recent restart history, and the earliest reliable evidence of protection.
- Preserve session records, cPanel access and login evidence, relevant proxy logs, and administrative changes before cleanup. Protect copies containing sensitive session material.
- Apply the branch-specific vendor update and restart the affected service under an approved change. If blocked, use the vendor’s documented containment path and record its service impact.
Review unexpected administrative sessions, account or password changes, API-token creation, new scheduled tasks, modified sites, and database access. Correlate those changes with hosting support tickets and authorized work. Investigate whether a control-panel session could access multiple tenants or publishing credentials. For confirmed compromise, restore the host and affected services from trusted material and revoke the access exposed to the attacker.
Finding and prioritizing affected systems with Tonic
Connect hosting servers to their platform owners and the websites or tenant services they administer in Tonic. Group remediation by the shared server and update branch so one host change can be coordinated across its tenants. Route suspicious sessions and content changes to the relevant application owners for investigation.
Technical analysis
How an unauthenticated request creates a trusted session
The vendor describes inconsistent sanitization between session-writing paths, including Basic authentication handling. A crafted request can create a session treated as authenticated without valid credentials. Determine the privileges of that session and inspect the actions performed through it. A later legitimate login does not explain an earlier unauthorized session. [1]
Update the service that is actually running
The vendor calls for a cPanel update, version verification, and a hard restart of cpsrvd. Confirm all three on the affected server. If access is temporarily restricted, check reverse proxies and service-subdomain paths as well as the primary management endpoint. [2]
Treat detector results as leads
The vendor revised its detector on 1 and 4 May to address false positives. Preserve session files before cleanup, record the detector revision, and correlate matches with access and administrative records. Deleted sessions can leave gaps that a negative detector result cannot resolve. Avoid the purge option until evidence has been preserved. [2]
Detection and investigation
Run the vendor detector in investigative mode and preserve relevant session files before cleanup. Store session material securely because it may contain credentials. Investigate each finding by host, tenant, session identity, and time; determine the affected scope from observed activity rather than extending one server’s findings to an entire provider.
- Session files and cPanel access records: Detector matches, unexpected session identities, or abnormal privileged operations. Retain the detector revision and correlate with access evidence; false positives were corrected during the response.
- Hosting configuration and content: New accounts, tokens, cron entries, altered websites, or unexplained scripts. Tie changes to the responsible tenant and approved change history.
- Provider and identity audit: Unusual support actions, account resets, or use of shared administrative credentials. Verify who actually administered each server and the scope of their authority.
Correlate events using their original timestamps and time zones. Check log coverage and retention before interpreting a search with no results.
Remediation and verification
Use the corrected build for the installed branch, then verify the version and restart cpsrvd as the vendor directs. [2] Pinned update settings and unsupported operating systems require explicit handling. For provider-managed servers, obtain the build and restart receipt for the actual host. Test both administrative access and the tenant services that depend on the change.
Update cPanel and restart the service
After preserving investigation evidence, the hosting operator should update cPanel, check the installed version, and restart cpsrvd. Confirm update eligibility and any legacy-platform procedure before running the sequence. The restart can interrupt control-panel access. [2]
/scripts/upcp --force
/usr/local/cpanel/cpanel -V
/scripts/restartsrv_cpsrvd --hardVerify the result
- Each hosting server has its exact corrected build, service restart evidence, and validation owner.
- Provider-managed hosts have explicit server-specific confirmation and unresolved exceptions remain visible.
- Session leads and tenant changes are investigated, with affected credentials revoked and trusted recovery completed where required.
Preventing recurrence
Track the server build, update policy, and service restart status for each hosting system. Review API tokens, administrative sessions, and tenant access, and retain those records outside the server. Keep provider-managed systems in scope and document which operator can apply emergency updates.
Sources
- cPanel vendor response account — 10 May 2026. Account of the April 28 response, session mechanism, and detector revisions.
- cPanel operational security notice — 22 May 2026. Published 28 April; updated 22 May with operational guidance and branch-specific fixes.
- Canadian Cyber Centre initial alert — 29 April 2026. Initial critical authentication-bypass warning.
- ASD ACSC cPanel exploitation alert — 1 May 2026. Confirmation of active exploitation in Australia.