cPanel Vulnerability CVE-2026–41940: What Every Website Owner M
A CRLF injection in cPanel's session cookie processing let an attacker create a valid root-level session without a password. Attackers could then control the whole server and read every file, database and credential on it.
Published on medium.com
On April 28, 2026, cPanel disclosed one of the most severe security vulnerabilities in its recent history, a 9.8 out of 10 on the CVSS severity scale. If your website runs on cPanel, whether shared hosting or a dedicated server, you need to act today.
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, cPanel did not properly sanitise line-break characters in session cookie data, so crafted input was written into a session file that the server then trusted as a root session.
Impact
An attacker could take full control of the server and access every file, database, email account and credential, and the flaw was reportedly exploited as a zero-day for about two months before disclosure.
What the attacker needed
CPanel version below [redacted]; network access to the cPanel service
The fix
cPanel was fixed in version 11.134.0.20 or higher, and administrators should update, then check for suspicious session files and rotate all credentials.
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.
cPanel is control-panel software that many web hosts use to manage websites and servers. A CRLF injection means an attacker slips special line-break characters into a request so the server misreads it and treats the attacker as already logged in as the administrator. That gives them the same power as the server owner, without needing any password.
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.