Dark navy illustration of glowing blue server blocks behind a translucent shield deflecting orange beams from small drones, beside a cracked appliance box leaking orange light and a glowing wrench.

PHP2Shell Is Rooting Firewalls. Your WordPress Site Isn’t Safe Just Because It’s Updated

Two critical bugs in PHP itself, nicknamed PHP2Shell, have been under attack for more than a week. So far the scorecard is strange: attackers have rooted some Palo Alto Networks firewalls, but WordPress security firm Defiant, the company behind Wordfence, says it still isn’t aware of a single WordPress site compromised this way.

Don’t read that as permission to relax. Read it as a head start.

What PHP2Shell is

The flaws are tracked as CVE-2026-109618 and CVE-2026-109619, and each scores 9.2 out of 10 on the CVSS v4.0 scale, per Wordfence. Both can let an attacker who never logged in run their own code on a server. One involves how PHP handles a request that runs out of memory; the other involves a PHP process holding onto data from a finished request that a later request can misuse.

The PHP project shipped fixes on October 21 in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. CISA added both bugs to its Known Exploited Vulnerabilities catalog on October 26 and urged organizations to patch immediately. Researchers at Calif, who published a write-up on the bugs, say they confirmed pre-auth code execution against apps including WordPress, Drupal and Joomla in their testing.

Firewalls fell first

The confirmed damage so far is on network gear. Security firm Dream reported that a China-linked group, assisted by AI, chained PHP2Shell with a Linux kernel privilege-escalation bug called Fragnesia to plant root-level webshells on Palo Alto firewalls, according to SecurityWeek. Dream counted at least 25 firewalls hacked; Wordfence’s summary of the same report says 24 firewalls plus an internal management server, so the exact tally varies by telling.

Palo Alto Networks says its Unit 42 team verified the attacker’s tooling. The company says only about 0.02% of its installed base had internet-facing management interfaces and was affected, and it has shipped patched PAN-OS versions. It also says its telemetry found more than 22.6 million exposed PHP instances that are potentially vulnerable.

Why WordPress is holding, for now

Wordfence says it logged roughly 77,600 related requests from more than 2,000 IP addresses between October 23 and 27 without finding a confirmed compromise. Defiant’s testing suggests real-world exploits often need tuning for each server’s PHP build, extensions and memory settings. Attackers are still refining their tools, though, and Wordfence stresses that no confirmed case doesn’t mean an unpatched server is safe.

Why it matters

Updating WordPress, your plugins or your theme does nothing here, because the bug lives in the PHP runtime underneath them. If you run a WordPress site on shared or managed hosting, ask your host directly whether the PHP serving your site is patched for both CVEs and has been restarted. You can see your PHP version under Tools, then Site Health, then Info, then Server. If you run your own server, update PHP and restart every PHP worker. Do it before the exploits get better.

Sources

Similar Posts