Guides · Security news
cPGuard was compromised through its own updates. What to check now
On 2 November, a security tool that runs on a lot of cPanel servers became the way in. Attackers pushed a malicious script out through cPGuard’s normal update channel, so servers that updated automatically installed it themselves. Here’s what’s known so far, how to tell if you were affected, and what to do about it, including the WordPress sites on those servers.
What happened
According to OPSSHIELD, the company behind cPGuard, an unknown attacker used compromised credentials to get into its update distribution system on 2 November 2026 at 02:06 UTC. From there they sent a malicious script out to servers through the cPGuard update channel.
- Affected versions: reports name cPGuard 5.88.12 to 5.88.19.
- What it went after: the server’s password file (
/etc/shadow), which holds the hashed passwords for root and other local accounts. - Scale: OPSSHIELD says it identified about 32 collected files that the attacker retrieved from its licensing server. That’s a count of files, not necessarily of affected servers.
- Still unknown: who the attacker is, how the credentials were obtained, and the full scope.
OPSSHIELD disclosed this quickly and in detail, and it’s also releasing an update that removes its own support access keys from servers where they had been added. That’s how an incident like this should be handled.
Was your server affected?
If you run cPGuard, look at its update log, /opt/cpguard/logs/install_log, for updates installed on or after 2 November. A successful update to one of the affected versions means you should treat the server as exposed. It doesn’t prove the script ran or that anything was taken, but with root passwords at stake it’s not worth gambling on.
What to do now
- Update cPGuard to 5.88.25 or later. OPSSHIELD’s advisory gives the command:
cpgcli update --start - Reset root and every local account password, from a trusted computer. Do it even if the update went through cleanly. The hashes may already have been copied, and a copied hash can still be cracked later.
- Check for ways back in. This goes beyond the advisory, but it’s standard after any root level incident: SSH keys in every
authorized_keysfile, cron jobs, new system services and local users created since 2 November. - If you can’t verify the server, rebuild it and restore your data from a backup taken before 2 November. OPSSHIELD recommends contacting its support in that situation.
Don’t run cleanup scripts from forums you can’t verify. Incidents like this attract fake “fix” scripts. Stick to the vendor’s advisory and the checks you understand.
If you host WordPress sites on that server
The advisory is about system accounts, not websites. But if someone may have had a script running as root on your server, it’s sensible to give the sites on it a once over too. None of this takes long:
- Change the database passwords stored in each site’s
wp-config.php, and update the file to match. - Generate new WordPress security keys (the salts in
wp-config.php). That logs everyone out. - Check the administrator list on every site for accounts nobody created.
- Look for PHP files changed since 2 November outside normal plugin and theme updates, especially in
wp-content/uploadsand the must use plugins folder. - Check the sites from the outside, as a visitor and as Google, to make sure nothing unexpected is being served. Our free spam check does that part.
Most sites will be fine. This is cheap insurance, not a sign that your sites were attacked.
The bigger lesson
This isn’t really about one vendor. Any security product that runs as root and updates itself is part of your attack surface, whichever company makes it. That’s not a reason to run nothing. It’s a reason to know exactly what pulls code onto your servers, where it comes from, and how you’d notice if it suddenly started doing something it shouldn’t.
Need a hand?
If you’d like a second pair of eyes on the WordPress sites on an affected server, we can check them and clean anything we find. You’ll get a written report of what we checked and what we found. We agree the scope with you before any paid work starts.