Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

cPanel & WHM Authentication Bypass (CVE-2026-41940)

CVE-2026-41940 is an authentication bypass in the session management layer of cPanel & WHM.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
4 min read
CVE ID
CVE-2026-41940
Vendor
WebPros (cPanel)
Affected Product
cPanel & WHM; WP Squared (WP2)
Exploitation
Listed in CISA KEV
Published
2026-04-29

cPanel says an unauthenticated request can be treated as authenticated, allowing access without valid credentials.The vendor released security updates on 28 April 2026. NVD published its record on 29 April, and CISA lists the issue in its Known Exploited Vulnerabilities catalog.

What it allows

How Does CVE-2026-41940 Bypass cPanel Authentication?

Two cPanel & WHM code paths write to session files, according to the vendor. One sanitized input, but the path used during Basic authentication did not. That gap could cause an unauthenticated session to be treated as authenticated.

The resulting access does not require valid credentials. This explanation describes the vendor-confirmed failure in the login flow; it does not imply that every exposed server was compromised.

What Does the Exploitation Evidence Show?

CISA added CVE-2026-41940 to its Known Exploited Vulnerabilities catalog. Its feed records 30 April 2026 as the addition date and marks ransomware use as known. The catalog entry supports urgent patch priority, but it gives no count of affected servers.

Brandefense Blackhole counted 15 dark-chat posts mentioning CVE-2026-41940 from 24 August through 22 November 2026. The unit is posts, not distinct incidents or hosts. A GitHub repository-name search on 22 November returned 73 public repositories bearing the CVE identifier; that count does not verify code or deployment.

Teams can place this KEV item in their Vulnerability Intelligence queue. The vulnerability prioritization glossary explains how to weigh confirmed exploitation alongside local exposure.

Who is affected

Which cPanel and WP Squared Versions Need Review?

cPanel says the flaw affects cPanel & WHM versions after v11.40 and WP Squared through v11.136.1.6. It says no other WebPros products are affected. The vendor released updates for supported tiers and selected legacy branches, including v86, v94, v102, v124 and v130.

NVD lists the following affected cPanel and WHM ranges, with each start included and each end excluded. They are NVD configuration boundaries, not a complete vendor patch matrix. WP Squared appears separately in NVD as versions before 136.1.7.

Starting release (inclusive)Range end (exclusive)
11.40Before 86.0.41
88.0.0Before 110.0.97
112.0.0Before 118.0.63
120.0.0Before 124.0.35
126.0.1Before 126.0.54
128.0.0Before 130.0.19
132.0.0Before 132.0.29
134.0.0Before 134.0.20
136.0.0Before 136.0.5

Record the actual installed build for every cPanel & WHM and WP Squared server, including pinned or legacy installations. Compare it with the current vendor update channel and the matching NVD branch. Do not infer that an older branch is fixed merely because another branch has a lower version number.

How Should Administrators Patch and Check for Compromise?

Apply cPanel security updates for each supported or back-ported branch, then verify the running build after the service restarts. cPanel says pinned and version-restricted configurations can block normal updates. Its support advisory is the operational source for those edge cases.

For systems that cannot update promptly, cPanel describes temporary cpsrvd port blocking or ModSecurity rules. The vendor also recommends its current detection script for any server that was unpatched during the incident window. The 1 May revision corrected an earlier false positive, so use the revised script.

Treat a detection result as a lead for investigation, not proof that a host is safe or compromised. Document the build, update result, and any findings in the patch management workflow. These validation and triage steps are Brandefense defensive guidance.

Timeline

  1. 2026-04-27

    cPanel confirmed and classified the vulnerability at 10:47 CDT.

  2. 2026-04-28

    cPanel published updated builds across supported tiers at 16:19 CDT.

  3. 2026-04-29

    NVD published the CVE record; cPanel issued partner and customer communication with its detection script.

  4. 2026-04-30

    CISA KEV catalog feed records the addition of CVE-2026-41940.

  5. 2026-05-01

    cPanel refined its session-file detection script to address a false positive.

  6. 2026-05-10

    cPanel published its response and patch coverage summary.

What to do

  1. Inventory affected management servers

    List cPanel & WHM and WP Squared installations, their running builds, and any pinned or legacy update channels. Prioritize internet-reachable management interfaces.

  2. Apply the vendor security update

    Update each affected branch using the cPanel release channel or vendor-supported back-port. For blocked upgrades, follow the vendor advisory for temporary service-port or ModSecurity mitigations.

  3. Verify the running build

    After updating, confirm the installed and running release matches the vendor-patched build for that branch. Check the update log for version locks and incomplete restarts.

  4. Review prior exposure

    Run the current cPanel detection script on systems unpatched during the incident window. Investigate any findings and retain the version and review record.

What Brandefense can do

Frequently Asked Questions

What causes the CVE-2026-41940 authentication bypass?

cPanel says one session-file writing path used during Basic authentication lacked an input-sanitization step. An unauthenticated session could then be treated as authenticated.

Is CVE-2026-41940 actively exploited?

CISA lists it in KEV and marks ransomware use as known. That catalog status confirms exploitation, but it does not identify affected servers or provide an incident count.

Which WP Squared builds are affected?

cPanel identifies WP Squared through v11.136.1.6. NVD separately lists WP Squared versions before 136.1.7 as affected.

What should administrators do after applying the patch?

Verify the running release against the patched build for its branch. cPanel also advises using its updated detection script on servers that were unpatched during the incident window.

Sources

  1. CVE-2026-41940: Response, Actions and Next StepscPanel
  2. CVE-2026-41940 DetailNIST NVD
  3. Known Exploited Vulnerabilities Catalog FeedCISA
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →