CVE-2026–41940: cPanel’de Şifresiz Root Erişimi (Auth Bypas
A logic flaw in cPanel's session handling lets a specially crafted HTTP request create a fake session that the system treats as a valid, highly privileged admin or root session. An attacker could then skip the login screen and gain root-level access to the server without any credentials.
Published on medium.com
Hosting dünyasının en yaygın yönetim panellerinden olan cPanel, son günlerde oldukça kritik bir güvenlik zafiyetiyle gündemde: CVE-2026–41940. İlk bakışta standart bir “kimlik doğrulama atlatma” (authentication bypass) hatası gibi görünse de, sunabildiği tam yetkili (root) erişim ve kullanım kolaylığı, bu açığı siber…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a logic error in how cPanel validates and processes session data, allowing a crafted request to create a session that is accepted as valid and highly privileged.
Impact
A successful attack could give the attacker full access to all databases, files and other users' sites on the server, and in shared hosting one exploit could take over the whole server.
What the attacker needed
Network access to the cPanel service; no credentials needed
The fix
cPanel should release and administrators should promptly apply security patches; the text also recommends restricting WHM and cPanel ports to specific IP addresses and monitoring session logs.
How it was found
- Send a specially crafted HTTP request to the cPanel service.
- The request triggers a flaw in how session data is processed and creates a fake session.
- The system accepts the manipulated session as valid and highly privileged, bypassing the login screen.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A session is how a website remembers that you already logged in. Here, cPanel could be tricked into believing a fake session was real and belonged to an administrator, so the attacker never needed a username or password. That would give full control of the hosting server.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.