Site Security
Estimated reading time: 6 min read

cPGuard Hijack: Should You Turn Off Automatic Updates?

Ben Marshall Ben Marshall Full-stack Developer & Engineering Manager
Shield over a server network, illustrating the cPGuard update hijack and whether to keep automatic updates on
On this page
No. The cPGuard hijack, Rank Math PRO and this week's WordPress flaw all hit the update path, but every fix arrived as an update. Keep automatic updates on and limit their reach.

No. After the cPGuard hijack, turning off automatic updates is the wrong lesson. In three incidents in three weeks, attackers went after the update path itself, but each fix also arrived as an update, and attackers moved within minutes on bugs that stayed unpatched.[1][3][5] Keep automatic updates on, and change what an update can reach.

What happened

cPGuard is a security suite for Linux web servers that run cPanel, DirectAdmin or Plesk.[2] On November 2, 2026, at 02:06 UTC, an attacker used stolen credentials to get into the update system of OPSSHIELD, the company behind it.[1] cPGuard versions 5.88.12 through 5.88.19 carried a malicious script. OPSSHIELD caught it within 12 hours.[1]

Servers that installed one of those updates ran a script that collected password hashes, root database settings, root’s shell history and root’s SSH key files. It also planted a backdoor.[1] OPSSHIELD says the attacker retrieved data tied to 32 customer servers, a preliminary count.[1] A company spokesperson told BleepingComputer that 2,946 servers were affected.[2] The fix, version 5.88.25, removes the backdoor and arrives the same way: as an update.[1]

Why it matters for your site

This is the third update-path incident we’ve covered since mid-October. In October, some Rank Math PRO 3.0.123 downloads carried malware for about 11 hours.[5][9] This week, CISA said attackers are exploiting a WordPress core flaw that opens during updates, in the few seconds an update unpacks.[4][8] If you manage websites, it’s fair to ask whether automatic updates are worth the risk.

IncidentWhat went wrongHow longHow the fix arrived
cPGuard (Nov 2026)Attacker pushed a malicious script through the vendor’s update channel[1]Caught within 12 hours[1]Update to 5.88.25[1]
Rank Math PRO (Oct 2026)Some 3.0.123 downloads contained malware[5]About 11 hours[5]Update to 3.0.124[5]
WordPress core (Oct-Nov 2026)Staging folder reachable during updates, now exploited[3][4]Seconds per update, on every unpatched site[3]Automatic minor update to 7.1.4 or your branch’s fix[3]

Why we still say keep automatic updates on

Bad updates are short. Unpatched bugs are not.

Both poisoned updates were caught and pulled within hours.[1][5] An unpatched site stays open until someone updates it. With WordPress 7.1.4, Wordfence saw the first attack request nine minutes after its firewall rule went live, and more than 18,500 requests in 21 hours.[3] Attackers start on known bugs right away, while manual updates wait for someone to get around to them.

Updating by hand wouldn’t have caught it

In our reading, a person clicking Update installs the same package the automatic updater would. Few site owners can inspect a plugin or server tool for a hidden script before installing it. Manual updates mostly add delay, and delay is what attackers count on.

The fix comes through the same channel

OPSSHIELD’s cleanup is an update.[1] So were Rank Math’s clean 3.0.124 and WordPress’s security release.[3][5] Switching updates off means you also wait longer for the cure.

CISA’s advice for everyone is blunt: “Every product you use should have auto-updates turned on by default.”[6] WordPress agrees in practice. It turns on automatic minor updates by default.[7]

What to change instead

The lesson we take from this week is about reach, not timing. These steps are our advice, built on what the vendors’ notices asked people to do.

  1. List every tool that updates itself with high privileges. Server security suites, control panel add-ons and premium plugins with their own updaters all count. cPGuard’s update could read root’s files, which is why the damage was so broad.[1]
  2. Keep secrets out of shell history and config files where you can. OPSSHIELD tells affected customers to rotate database passwords, cloud keys and any secrets in root’s shell history.[1] A password typed on a command line is a password stored on disk.
  3. Read vendor security emails and notices the same day. Rank Math and OPSSHIELD both told customers exactly what to check and when.[1][5] Make sure those emails reach someone who acts on them, not an old inbox.
  4. Keep backups older than a day or two. Rank Math told affected customers to restore from a backup made before the bad update arrived.[5] That only works if you keep more than last night’s copy.
  5. Treat a bad update as a breach. Updating to the clean version isn’t enough on its own. Both vendors said to change passwords and keys too.[1][5]
  6. Block what the web never needs. For the WordPress flaw, a one-line server rule blocks the staging folder during updates.[8]

If you run cPGuard

OPSSHIELD says to run cpgcli update --start, confirm version 5.88.25 or later with cpgcli --version, and check /opt/cpguard/logs/install_log for any of the affected versions.[1] If one shows up, treat the server as compromised: reset root and other local passwords, rotate database passwords and cloud tokens, and replace root’s SSH keys.[1] OPSSHIELD doesn’t currently call for a full rebuild by default, but says one may be right if you find more signs of compromise.[1]

When a short delay makes sense

There is one case where we’d slow down: big feature upgrades on complex sites, such as a new major WordPress version or a plugin’s major release. Test those on a staging copy first. That’s our view, not a vendor rule. Security and minor releases are different. Let them run.

Where Zero Spam fits

Zero Spam doesn’t check plugin updates or server tools for malware. Backups, vendor notices and credential rotation cover that. Our free WordPress plugin blocks spam bots, fake registrations and known bad IPs on your forms, and updates through WordPress like any other plugin. To try it, start on the free Explorer plan.

FAQ

Frequently Asked Questions

Should I turn off automatic updates after the cPGuard hack?

We don’t think so. The bad update was caught within 12 hours and the fix is itself an update. Turning updates off leaves known bugs open for longer.[1][3]

Which cPGuard versions were affected?

Versions 5.88.12 through 5.88.19. Version 5.88.25 or later removes the known backdoor and the files the script staged.[1]

How do I know if my server got the bad cPGuard update?

OPSSHIELD says to check the install log for any of the affected versions. A matching entry means the server installed one, even if it now runs a fixed version.[1]

How many servers were affected by the cPGuard compromise?

It isn’t settled. OPSSHIELD’s notice gives a preliminary count of 32 customer servers whose data was retrieved, while a spokesperson told BleepingComputer 2,946 servers were affected.[1][2]

Are WordPress automatic updates safe to leave on?

Yes, for minor and security releases. WordPress turns them on by default, and this week’s exploited core flaw is fixed by one.[4][7][8]

Sources & References