{"id":12566,"date":"2026-05-02T10:03:39","date_gmt":"2026-05-02T10:03:39","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2026\/05\/02\/cpanelsniper-poc-exploit-disclosed-for-cpanel-vulnerability-44000-servers-compromised\/"},"modified":"2026-05-02T10:03:39","modified_gmt":"2026-05-02T10:03:39","slug":"cpanelsniper-poc-exploit-disclosed-for-cpanel-vulnerability-44000-servers-compromised","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2026\/05\/02\/cpanelsniper-poc-exploit-disclosed-for-cpanel-vulnerability-44000-servers-compromised\/","title":{"rendered":"cPanelSniper \u2013 PoC Exploit Disclosed for cPanel Vulnerability, 44,000 Servers Compromised"},"content":{"rendered":"<p>    cPanelSniper \u2013 PoC Exploit Disclosed for cPanel Vulnerability, 44,000 Servers Compromised<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>A weaponized proof-of-concept (PoC) exploit framework dubbed \u201ccPanelSniper\u201d has been publicly released for <a href=\"https:\/\/cybersecuritynews.com\/cpanel-0-day-authentication-bypass-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">CVE-2026-41940<\/a>, a maximum-severity authentication bypass in cPanel &amp; WHM that has already led to the compromise of tens of thousands of servers worldwide with attack activity traced as far back as late February 2026.<\/p>\n<p>CVE-2026-41940 is a critical pre-authentication flaw rooted in how cPanel\u2019s <code>Session.pm<\/code> module handles HTTP <code>Authorization<\/code> headers during login.<\/p>\n<p>The vulnerability stems from the <code>saveSession()<\/code> function writing session data to disk <em>before<\/em> calling <code>filter_sessiondata()<\/code> for sanitization \u2014 meaning CRLF characters embedded in a <code>Basic<\/code> authorization header are written verbatim into the on-disk session file.<\/p>\n<p>An attacker can inject fields such as <code>user=root<\/code>, <code>hasroot=1<\/code>, and <code>tfa_verified=1<\/code> directly into the session file, effectively forging a fully authenticated root WHM session without any valid credentials.<\/p>\n<p>The flaw carries a CVSS score of 9.8 (Critical) and affects all cPanel &amp; WHM versions after 11.40, as well as WP Squared (WordPress Squared) v136.1.7. cPanel disclosed the issue on April 28, 2026, and issued emergency patches the same day, but exploitation was already actively underway.<\/p>\n<h2 class=\"wp-block-heading\" id=\"cpanelsniper-four-stage-exploit-chain\"><strong>cPanelSniper: Four-Stage Exploit Chain<\/strong><\/h2>\n<p><a href=\"https:\/\/github.com\/ynsmroztas\/cPanelSniper\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Released publicly on GitHub<\/a> by security researcher Mitsec (@ynsmroztas), cPanelSniper automates exploitation through a precise four-stage attack chain:<\/p>\n<ul class=\"wp-block-list\">\n<li>\n<strong>Stage 1<\/strong> \u2014 Mints a pre-auth WHM session using intentionally invalid credentials, obtaining a <code>whostmgrsession<\/code> cookie<\/li>\n<li>\n<strong>Stage 2<\/strong> \u2014 Injects CRLF payload via a crafted <code>Authorization: Basic<\/code> header, causing <code>cpsrvd<\/code> to write poisoned session fields to disk<\/li>\n<li>\n<strong>Stage 3<\/strong> \u2014 Triggers the internal <code>do_token_denied<\/code> gadget via <code>\/scripts2\/listaccts<\/code>, flushing raw session data into the cache and activating the injected fields<\/li>\n<li>\n<strong>Stage 4<\/strong> \u2014 Verifies full WHM root access by querying <code>\/json-api\/version<\/code>, returning HTTP 200 and confirming a \u201cPWNED\u201d state<\/li>\n<\/ul>\n<p>The tool requires no external dependencies; it is pure Python 3.8+ stdlib and supports bulk scanning, pipeline integration with tools like <a href=\"https:\/\/cybersecuritynews.com\/penetration-testing-phases\/\" target=\"_blank\" rel=\"noreferrer noopener\">Subfinder and Shodan<\/a>, interactive WHM shell access, and post-exploitation actions including command execution, account enumeration, and backdoor admin creation.<\/p>\n<p>The Shadowserver Foundation confirmed on April 30, 2026, that 44,000 unique IP addresses were observed scanning for victims, launching exploits, or conducting brute-force attacks against their honeypot sensors.<\/p>\n<figure class=\"wp-block-embed is-type-rich is-provider-twitter wp-block-embed-twitter\">\n<div class=\"wp-block-embed__wrapper\">\n<div class=\"embed-twitter\">\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\">\n<p lang=\"en\" dir=\"ltr\">Attention! cPanel\/WHM CVE-2026-41940 attacks ongoing, with at least 44K IPs likely compromised &amp; seen scanning our honeypots on 2026-04-30.  Follow latest guidance to track for compromise &amp; patch: <a href=\"https:\/\/t.co\/z4sRvdaBwt\">https:\/\/t.co\/z4sRvdaBwt<\/a> <\/p>\n<p>See Public Dashboard for stats: <a href=\"https:\/\/t.co\/qFz265JDIK\">https:\/\/t.co\/qFz265JDIK<\/a> <a href=\"https:\/\/t.co\/m1aZvFEVlU\">pic.twitter.com\/m1aZvFEVlU<\/a><\/p>\n<p>\u2014 The Shadowserver Foundation (@Shadowserver) <a href=\"https:\/\/twitter.com\/Shadowserver\/status\/2050208472386396568?ref_src=twsrc%5Etfw\">May 1, 2026<\/a>\n<\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div>\n<\/div>\n<\/figure>\n<p>Exploitation activity has been traced back to at least February 23, 2026, indicating that attackers were exploiting this zero-day roughly two months before any patch existed. Attack outcomes include ransomware deployment, website defacements, and botnet recruitment.<\/p>\n<p>The scale of exposure is alarming: approximately 650,000 cPanel\/WHM instances remain internet-facing, with roughly 1.5 million potentially vulnerable instances identified via Shodan.<\/p>\n<p>CISA added CVE-2026-41940 to its Known Exploited Vulnerabilities (KEV) catalog on May 1, 2026.<\/p>\n<h2 class=\"wp-block-heading\" id=\"patched-versions-and-immediate-mitigations\"><strong>Mitigations<\/strong><\/h2>\n<p><a href=\"https:\/\/support.cpanel.net\/hc\/en-us\/articles\/40073787579671-Security-CVE-2026-41940-cPanel-WHM-WP2-Security-Update-04-28-2026\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">cPanel rolled out emergency patches<\/a> across all active branches:<\/p>\n<figure class=\"wp-block-table\">\n<table class=\"has-fixed-layout\">\n<thead>\n<tr>\n<th>Branch<\/th>\n<th>Vulnerable \u2264<\/th>\n<th>Patched Version<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>110.x<\/td>\n<td>11.110.0.96<\/td>\n<td>11.110.0.97<\/td>\n<\/tr>\n<tr>\n<td>118.x<\/td>\n<td>11.118.0.62<\/td>\n<td>11.118.0.63<\/td>\n<\/tr>\n<tr>\n<td>126.x<\/td>\n<td>11.126.0.53<\/td>\n<td>11.126.0.54<\/td>\n<\/tr>\n<tr>\n<td>132.x<\/td>\n<td>11.132.0.28<\/td>\n<td>11.132.0.29<\/td>\n<\/tr>\n<tr>\n<td>134.x<\/td>\n<td>11.134.0.19<\/td>\n<td>11.134.0.20<\/td>\n<\/tr>\n<tr>\n<td>136.x<\/td>\n<td>11.136.0.4<\/td>\n<td>11.136.0.5<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>Administrators should immediately update via <code>\/scripts\/upcp --force<\/code>, restart the <code>cpsrvd<\/code> and <code>cpdavd<\/code> services, and block inbound traffic on cPanel ports 2083, 2087, 2095, and 2096 at the firewall.<\/p>\n<p>Security teams should audit session directories for suspicious session files containing injected fields and rotate all administrative credentials as a precaution.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 94%,rgb(169,184,195) 100%)\"><strong>Follow us on <a href=\"https:\/\/news.google.com\/publications\/CAAqMggKIixDQklTR3dnTWFoY0tGV041WW1WeWMyVmpkWEpwZEhsdVpYZHpMbU52YlNnQVAB?hl=en-IN&amp;gl=IN&amp;ceid=IN:en\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google News<\/a>, <a href=\"https:\/\/www.linkedin.com\/company\/cybersecurity-news\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">LinkedIn<\/a>, and <a href=\"https:\/\/x.com\/cyber_press_org\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">X<\/a> for daily cybersecurity updates. <a href=\"https:\/\/cybersecuritynews.com\/contact-us\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Contact us<\/a> to feature your stories.<\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/cpanelsniper-poc-exploit\/\">cPanelSniper \u2013 PoC Exploit Disclosed for cPanel Vulnerability, 44,000 Servers Compromised<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Guru Baran<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/cpanelsniper-poc-exploit\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>cPanelSniper \u2013 PoC Exploit Disclosed for cPanel Vulnerability, 44,000 Servers Compromised A weaponized proof-of-concept (PoC) exploit framework dubbed \u201ccPanelSniper\u201d has been publicly released for CVE-2026-41940, a maximum-severity authentication bypass in cPanel &amp; WHM that has already led to the compromise of tens of thousands of servers worldwide with attack activity traced as far back as [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,131,648],"tags":[130],"class_list":["post-12566","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-vulnerability","category-vulnerability-news","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/12566"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=12566"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/12566\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=12566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=12566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=12566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}