Last updated 5 November 2026. Vendor advisories and the list of affected products are changing quickly, so check your vendor’s latest guidance before acting.
In the last two weeks of October, a pair of critical flaws in PHP, nicknamed PHP2Shell, became one of the most urgent security stories of the year. PHP runs behind roughly seven in ten websites, including every WordPress site and many customer portals and online booking systems. It is also built into the management screens of many firewalls and other network devices. According to security researchers, the two flaws (CVE-2026-109618 and CVE-2026-109619) can let an attacker run their own commands on a vulnerable system with as little as a single request, with no password needed, in default PHP configurations.
PHP2Shell follows React2Shell, a similar flaw in popular tools for building web applications that was exploited to breach more than 30 organisations last December. The "2Shell" nickname says it all: one request, and the attacker has a shell (a command line) on your system.
Why patching alone was not enough
PHP released fixed versions on 21 October 2026, and the first piece of advice is simple: update now. But Amazon's threat researchers spotted exploitation attempts on 17 October, four days before the flaws were made public and before any patch existed. Within a day of disclosure, attempts had reached the millions, and on 26 October the US Cybersecurity and Infrastructure Security Agency (CISA) confirmed active exploitation. Censys estimated that more than 32 million PHP services were still running an affected version.
That is the reality of a zero-day. For a period of time there is no patch to apply, and even once there is, most businesses take days or weeks to roll it out everywhere. During that window, the important question is not only "can attackers get in?" but "what can they do once they are in?"
It is not just websites
Firewalls, VPN gateways, routers and storage devices often use PHP to power their web-based management screens. Since the flaws were disclosed, several network and security vendors have published advisories:
Palo Alto Networks confirmed that the management web interface of its PA-Series and VM-Series firewalls and Panorama is affected across the PAN-OS 10.2 to 12.2 releases, and fixes are now available for all affected releases. On 29 October it confirmed active attacks on firewalls whose management interface was exposed to the internet. Researchers found 25 compromised firewalls and management servers, where attackers combined PHP2Shell with a Linux kernel flaw (CVE-2026-46300, nicknamed Fragnesia) to take full control. Its GlobalProtect VPN portal is not affected.
Cisco lists its Expressway video-conferencing gateways, Ultra-Reliable Wireless Backhaul equipment, Duo Access Gateway, ISE Portal Builder and Unified Industrial Wireless Software as affected. Duo Access Gateway is fixed in version 3.2.0 and Expressway in 15.5.21, but the Wireless Backhaul fix is not expected until February 2027, so Cisco’s published workarounds matter in the meantime. Several other Cisco products are still under investigation.
Fortinet says its FortiGate firewall operating system (FortiOS) is not affected. It has fixed its FortiClient Cloud services and is still investigating FortiDDoS, FortiSOAR and FortiSOAR PaaS.
Peplink confirmed that the control panel of its on-premises InControl Virtual Appliance is affected, with a fix in firmware 2.14.4 (2.14.4.1 recommended). It has since added Balance and MAX routers running firmware 8.4.0 to 8.6.1 with the optional Edge Computing feature turned on; special firmware is available and the fix will be in the next general release. Its cloud-hosted service is not affected.
Other vendors have also confirmed impact: Citrix (NetScaler ADC and Gateway), F5 (BIG-IP) and Check Point have released fixes, and Juniper says the J-Web management interface on its EX and SRX devices is affected by one of the two flaws.
As of 5 November 2026, attacks have been confirmed against Palo Alto Networks firewalls with internet-facing management screens. The other vendors above have not reported attacks on their devices, and the list of affected products is still growing. But edge devices deserve extra attention: they sit directly on the internet, they usually cannot run security software, and their firmware is updated far less often than computers. A compromised firewall can also give an attacker a trusted position inside your network.
What attackers do after they get a shell
Researchers tracking PHP2Shell and React2Shell have seen a familiar pattern once attackers can run code on a system:
Downloading tools. Fetching new programs from the internet, such as botnet malware, backdoors and remote-access tools.
Running scripts. Encoded PowerShell and shell commands that pull further payloads straight into memory.
Stealing secrets. Hunting for passwords, cloud access keys and other credentials stored on the system.
Moving deeper. Using the compromised system as a foothold to reach file shares, databases and the rest of the network.
The flaw is the way in. The real damage happens in the steps that follow, and that is where zero trust earns its keep.
How zero trust contains the fallout on servers
Zero trust starts from a simple assumption: sooner or later, something will get through. Rather than relying only on keeping attackers out, it limits what every program, user and device is allowed to do, so a successful exploit is far more likely to hit a dead end than turn into a full breach.
Only approved software runs. With application allowlisting, the botnet, backdoor or ransomware an attacker downloads is blocked by default because it is not on the approved list, even if no security company has ever seen it before. Modern zero trust protection covers Linux servers, where most PHP websites run, as well as Windows and Mac computers.
The web server stays in its lane. Application containment limits what trusted programs can do. A web server has no business launching PowerShell, opening a command prompt or reading other applications’ files, so those actions can be denied.
Servers cannot simply call home. Default-deny outbound network rules make it much harder for a compromised server to download payloads or contact an attacker’s command-and-control server.
No standing admin rights. When the web service runs with least privilege, an attacker inherits very little power and has to work much harder to escalate.
Someone is watching. 24/7 monitoring flags tell-tale signs, such as a web server spawning a shell, so an incident can be investigated before it spreads.
Zero trust for firewalls and other edge devices
You cannot install security software on most firewalls, so zero trust works around them instead, by treating the device itself as something that could be compromised:
Keep management screens off the internet. Vendors advise allowing management access only from specific trusted addresses, ideally a single dedicated admin computer protected with multi-factor authentication. On the firewalls affected so far, the vulnerable code sits in the management interface.
Do not let the edge become a skeleton key. Use separate admin accounts for network devices (never your main domain admin account) and change their passwords once the device is patched.
Assume the edge can be breached. Default-deny rules on your computers and servers mean they only accept connections from approved sources, so a compromised firewall cannot freely reach file shares or remote desktop.
The rest of the network still says no. Even if attackers gain a foothold on a network device, the tools they try to run on your computers and servers are blocked by default.
Watch the edge. Send firewall logs to your monitoring service and alert on new admin accounts, configuration changes and unexpected outbound connections.
None of these controls replace patching. What they do is buy you time, turning a zero-day into an incident you can contain rather than a crisis you have to recover from.
What to do this week
Find out where PHP runs. Your website, WordPress, client portals and booking or payment pages. Ask your web host or developer to confirm in writing that PHP has been updated.
Check your network equipment. Look up your firewall, router, VPN and storage vendors’ PHP2Shell advisories, install firmware updates as soon as they are available, and keep an up-to-date list of every device facing the internet.
Patch internet-facing systems in hours, not weeks. Treat critical remote code execution flaws as emergencies. A managed patching process makes this routine.
Look back, not just forward. Ask whoever runs your servers and network to review logs from 17 October onwards, not only from the day the patch was applied.
Keep secrets off exposed systems. Move passwords and access keys into a proper secrets store, and change any that may have been exposed.
Separate public-facing systems from your internal network, so a compromised website or device is not a doorway to everything else.
Check your backups. Make sure recent copies are stored off-site and tested.
Not sure whether your website or firewall is exposed? Our free security assessment, with your written authorisation, scans your internet-facing systems for known vulnerabilities and exposed management pages. To see how well your computers and servers would contain an attacker, ask about our free zero trust readiness assessment.
