Back to Articles Threat Intelligence

CVSS 9.8: How a cPanel Auth Bypass Became a Mass Ransomware Campaign

By Asaf Levy · · 8 min read
Key Numbers
  • 9.8 CVSS score for CVE-2026-41940. Critical. Maximum severity on the authentication bypass scale.
  • 0 credentials required to gain admin/root access on a vulnerable cPanel server.
  • 3 affected products: cPanel & WHM, DNSOnly, WP Squared.
  • Before patch release - exploitation of CVE-2026-41940 began before cPanel's official fix was publicly available (BleepingComputer, May 2026).
  • Millions of websites hosted on cPanel infrastructure globally, making mass scanning an efficient attack strategy with high yield.

CVE-2026-41940 is not subtle. A CVSS score of 9.8, authentication bypass, admin and root access with no credentials required. The vulnerability affects cPanel & WHM, DNSOnly, and WP Squared. And before the official patch was available, attackers were already running automated scans across the entire internet to find every exposed instance they could reach.

The ransomware group behind this campaign, tracked under the name "Sorry," did not need sophisticated tooling or insider knowledge. They needed a scanner, the CVE, and time. The economics of mass exploitation favor the attacker: scan millions of IP addresses, identify the vulnerable ones, exploit automatically, encrypt and ransom. The effort per victim is close to zero when the vulnerability does all the work.

This is not a sophisticated nation-state campaign. It is a commodity operation. And that is precisely what makes it dangerous for organizations that still treat patching as a scheduled activity rather than an urgent operational response.

What the Vulnerability Actually Does

An authentication bypass vulnerability at CVSS 9.8 means an unauthenticated attacker can skip the login process entirely and access the system as if they had valid admin credentials. In cPanel's case, that translates to full control over every website, database, email account, and file hosted on that server.

For a shared hosting server, that is not one victim. That is every customer on the server. A single successful exploit against a vulnerable cPanel instance can expose hundreds of websites, thousands of email accounts, and every database those sites depend on. The hosting provider's customers bear the impact of a vulnerability they did not cause and could not patch themselves.

The Sorry ransomware group understood this leverage. Rather than targeting organizations individually, they targeted the infrastructure layer. Compromising one cPanel server is faster and more scalable than compromising one organization. It is a supply chain attack without needing to infiltrate a software vendor.

Exploited Before the Patch Existed

The detail that should concern every security leader is this: exploitation was underway before cPanel released the official fix.

This is the scenario that breaks the standard patch management model. The model assumes a sequence: vendor discovers vulnerability, vendor releases patch, organizations apply patch, risk is mitigated. When exploitation precedes disclosure, that sequence fails. There is no patch to apply. The question becomes how quickly you detect that your systems are being targeted, not how quickly you patched.

Detection in this scenario requires visibility into your external attack surface before an attacker exploits it. Organizations that continuously monitor which of their internet-facing systems are running vulnerable software versions can identify the exposure the moment a CVE is published, and sometimes before. Organizations that rely on scheduled scans or quarterly assessments are working on a timeline that suits their operations, not the attacker's.

The Sorry campaign did not wait for organizations to complete their patch cycles. The scanner does not respect maintenance windows.

The Hosting Provider Problem

cPanel is infrastructure. Most organizations that use it do not think of it as a security perimeter. It is the control panel their hosting provider gave them, or the tool their IT team uses to manage web servers. It is rarely included in vulnerability management programs with the same urgency as application code or endpoint software.

That gap is structural. In a typical organization, the security team monitors the application layer, the endpoint layer, and the network layer. Web hosting infrastructure, particularly when it is managed or partially managed by a third party, often falls into an accountability gap: the hosting provider assumes the customer handles security, and the customer assumes the hosting provider does.

CVE-2026-41940 landed in that gap. Organizations that had cPanel instances they did not actively monitor, did not include in their external attack surface inventory, or depended on their hosting provider to patch on their behalf, had no warning before the ransomware arrived.

If you use managed hosting, the right question is not "did the provider patch?" It is "when did they patch, and what was my exposure window?" Those are two different questions, and the second one requires you to know your own attack surface well enough to ask it.

What Mass Exploitation Means at the Board Level

Board members and executives sometimes ask why security teams focus so much on patching. CVE-2026-41940 is a direct answer.

The Sorry campaign did not select its victims. It found them. Any cPanel server reachable from the internet and running a vulnerable version was a target. The decision about whether your organization was in scope for this attack was made when your cPanel instance was exposed to the internet and unpatched, not when the attackers decided to target you.

This is what mass exploitation looks like at scale. It is not targeted intelligence work. It is automated opportunity-seeking. The attacker's cost is low, the yield is high, and the victims are whoever happened to be exposed. Size does not protect you. Industry does not protect you. Being "not interesting enough to target" does not protect you when the scanner does not know who you are.

The organizations that avoided this campaign were not necessarily better protected in a holistic sense. They were either patched before exploitation began, not running cPanel, or running cPanel on systems not exposed to the internet. None of those conditions require an enterprise security program. All of them require knowing what you have and where it is exposed.

The Three Questions This Campaign Raises

For any organization running cPanel or managing web hosting infrastructure, this campaign surfaces three questions that deserve an answer before the next CVE is published.

Do you have a complete inventory of every cPanel instance in your environment? This includes instances managed by third-party hosting providers on your behalf. If you cannot answer this question in under an hour, you cannot answer the next question either.

Is your external attack surface scanned continuously for vulnerable software versions? A quarterly scan tells you where you were three months ago. CVE-2026-41940 was being exploited in real time. Continuous monitoring is not a premium security feature. It is the minimum required to respond to vulnerabilities that are exploited before or immediately after disclosure.

When a critical CVE is published, how long does it take your team to know if you are exposed? The answer should be measured in hours, not days. If it takes a week for your team to correlate a published CVE against your asset inventory and determine exposure, you are operating on the wrong timescale for the current threat environment.

Immediate Steps If You Run cPanel

Patch immediately. Apply the cPanel security update for CVE-2026-41940 across every instance of cPanel & WHM, DNSOnly, and WP Squared in your environment. If instances are hosted by a third-party provider, confirm in writing that the patch has been applied and request the patch timestamp.

Assume breach if unpatched during the exploitation window. If your cPanel instances were internet-facing and unpatched while active exploitation was underway, do not simply patch and move on. Check access logs for authentication anomalies, look for unauthorized admin accounts, inspect hosted files for modifications, and verify database integrity. A patched server that was already compromised is still a compromised server.

Audit your external exposure inventory. Use this incident as the trigger to map every internet-facing system in your environment, including hosting infrastructure. If cPanel instances were not in your external attack surface map before today, add them and include them in your continuous monitoring scope.

Review hosting provider SLAs for patch timelines. If a critical patch takes more than 24 hours to apply in a managed environment, that SLA is not aligned with how fast exploitation happens. Either renegotiate the terms or take direct control of patching for critical infrastructure.

Frequently Asked Questions

What is CVE-2026-41940?

CVE-2026-41940 is a critical authentication bypass vulnerability in cPanel & WHM, DNSOnly, and WP Squared with a CVSS score of 9.8. It allows an unauthenticated attacker to gain admin or root-level access without valid credentials. It was actively exploited in mass ransomware campaigns before the official patch was released.

What is Sorry ransomware?

Sorry is a ransomware operation that automated mass-scanning of the internet to identify cPanel servers vulnerable to CVE-2026-41940. Once a vulnerable server is found, the group exploits the authentication bypass to gain root access, then encrypts websites, files, and databases on the server. It is a volume operation: fast, automated, and indiscriminate in target selection.

Was CVE-2026-41940 exploited as a zero-day?

Yes. Exploitation began before the official cPanel patch was publicly available. This means patch management alone was not a sufficient defense during the initial window. Organizations that rely solely on patching cycles would have had no available remediation when exploitation began. Continuous external exposure monitoring and rapid detection are required to address vulnerabilities in this category.

How do I know if my cPanel server was compromised?

Review cPanel access logs for authentication events that bypassed normal login flows, particularly from unrecognized IP addresses. Look for unauthorized admin accounts, modified configuration files, encrypted files or ransom notes in hosted directories, and unusual outbound connections. If evidence of compromise exists, treat the server as fully attacker-controlled and initiate incident response before restoring from backup.

What should I ask my hosting provider after this campaign?

Three questions: When was CVE-2026-41940 patched on my server, and can you provide the exact timestamp? Were any of my servers internet-facing and unpatched during the active exploitation window? Do you have monitoring in place to detect exploitation attempts against my hosted infrastructure? If the provider cannot answer the first two questions with specifics, treat the server as potentially compromised and investigate accordingly.

Closing

CVE-2026-41940 is a textbook case for why external attack surface management is not optional. The vulnerability was public, the exploitation was immediate, and the victims were whoever happened to be exposed. There was no targeting decision. There was only exposure.

The security teams that responded fastest were the ones who knew their external footprint well enough to identify the risk within hours of the CVE being published. That knowledge does not come from a quarterly scan. It comes from continuous visibility into what you have, where it sits, and what version it is running.

The next CVE will follow the same pattern. The question is whether your detection timeline will be faster than the attacker's exploitation timeline.

Written by

Asaf Levy

Cybersecurity expert with 30+ years of experience across enterprise CISO, CTO, and co-founder roles. Advises boards and security teams on vulnerability management, external exposure, and building security programs that respond at the speed threats actually move.