Nearly 9,000 Hosts Are Seeing Ransomware on Their cPanels Right Now

Writer: Jordan Sprogis

Jordan Sprogis, Contributing Expert

Jordan Sprogis is a creative writer and tech researcher who has been working on online content for the better part of a decade. She holds a bachelor's degree in professional writing from Western Connecticut State University and has devoted much of her career to crafting content for various web verticals, including CyberSpyder and The Echo. Since joining HostingAdvice, Jordan has combined her storytelling ability with her fascination for advancements in technology to pen over 500 articles geared toward industry pros and newcomers alike.

Editor: Lillian Castro

Lillian Castro, Senior Editor

Lillian Castro brings more than 30 years of editing and journalism experience to our team. She has written and edited for major news organizations, including The Atlanta Journal-Constitution and the New York Times, and she previously served as an adjunct instructor at the University of Florida. Today, she edits HostingAdvice content for clarity, accuracy, and reader engagement.

Reviewer: Cristian Lopez

Cristian Lopez, News Manager

Cristian Lopez uses his Business Marketing background from the University of Illinois at Chicago to create comfortable environments for customers, clients, and colleagues to share their thoughts and ideas openly. From interviewing tech leaders to conducting UX market research projects, Cristian knows the importance of storytelling — a key variable for innovation and inspiration. His goal at HostingAdvice is to wow readers on the ever-evolving nature of the tech industry and bring his audience the most reliable and exciting content on all things hosting.

Follow the HostingAdvice team for a daily dose of tech news, trending IT discussions, and interviews with the web's most innovative technologists.
Follow Us:
1k
1k

Raise your hand if you knew attackers may have been exploiting a critical cPanel flaw since February. If you haven’t, it may be because the company only began taking remediation steps this past weekend.

On April 28, WebPros — cPanel’s parent company — disclosed CVE-2026-41940, a CVSS 9.8 authentication bypass in cPanel, WHM, and WP Squared that lets an attacker gain full administrative access to any affected server. So far, at least 8,859 servers/devices showed signs that their files had been encrypted by ransomware.

Canada’s government even issued a formal advisory on April 29 warning that exploitation was “highly probable” and that immediate action was required from anyone running cPanel — which obviously includes hosting providers.

At the time of publication, the exploitation is still ongoing: At least three separate groups are actively exploiting the vulnerability right now, including a .sorry ransomware, Mirai botnet, and a campaign targeting military and government domains in the Philippines and Laos, according to Ctrl-Alt-Intel.

The Timeline of Attacks

A small hosting provider out of Alabama says that by the time cPanel released its emergency patch on April 28, attackers had been abusing the vulnerability for nearly two months. That provider is KnownHost — and its CEO, Daniel Pearson, posted about it on Reddit.

He said that in mid-April, his team found around 30 exploitation attempts dating back to Feb. 23 — possibly even before cPanel noticed. Other hosting providers, including Namecheap and HostGator, patched their systems within the weekend.

Here’s a look at the timeline:

Date Event Detail Severity
2/23/2026 Earliest confirmed exploitation attempts KnownHost CEO logs unauthorized access attempts against ~30 servers Critical
4/14/2026 Separate, anonymous vulnerability reported to cPanel Initial cPanel response was that nothing was wrong, so no action taken Medium
4/28/2026 Emergency patch released (CVE-2026-41940) Namecheap, KnownHost, HostPapa, InMotion block cPanel ports globally Critical
Today Exploitations are still ongoing Ransomware (.sorry extension), Mirai botnet variant, possible nation-state activity; 8859 hosts with encrypted files Critical

What Exactly Is the cPanel Vulnerability?

For anyone who’s in hosting but severely on the non-development side, don’t worry — we’ll keep it simple.

The vulnerability lives inside of how cPanel’s service daemon handles pre-authentication session files. When someone attempts to log in and it fails, cPanel still writes the session down and returns a session cookie to the user.

An attacker can manipulate that cookie by omitting an expected value and injecting \r\n characters. The session file gets written, allowing the attacker to insert properties like successful_internal_auth_with_timestamp, which cPanel then reads back as proof the user already authenticated.

Why Did It Take Weeks to Surface?

The approximately two-week gap is blurry at best: cPanel received the initial report on April 14, but its public advisory didn’t come out until April 28.

According to a webhosting.today source, “the vulnerability had been reported to cPanel approximately two weeks before the April 28 public advisory, and that cPanel’s initial response was that nothing was wrong.”

Obviously, standard protocol is to notify anyone affected by a data or security risk. But we unfortunately don’t have enough information at this point to confirm whether WebPros had previous awareness of exploitation before late April.

watchTowr Labs’ proof of concept (a working example of how far the exploit could go) came out on April 29, one day after cPanel’s patch. By the 30th, tens of thousands of IPs were already scanning the internet for unpatched cPanel systems.

What Do Hosting Providers Need to Do Now?

If you’re not sure whether you’ve been compromised, try using cPanel’s detection script. If it comes back with a Critical or Warning message, your server may be compromised. You’ll have to move to a clean server or reinstall the OS and restore from your backups.

About the Author

Contributing Expert

Jordan Sprogis is a creative writer and tech researcher who has been working on online content for the better part of a decade. She holds a bachelor's degree in professional writing from Western Connecticut State University and has devoted much of her career to crafting content for various web verticals, including CyberSpyder and The Echo. Since joining HostingAdvice, Jordan has combined her storytelling ability with her fascination for advancements in technology to pen over 500 articles geared toward industry pros and newcomers alike.

« BACK TO: BLOG

Meet the Experts

Our team of experts with a combined 50+ years of experience in web hosting serve insight and advice to more than 20 million users!

We Know Hosting

$

4

8

,

2

8

3

spent annually on web hosting!