Key takeaways
Two critical flaws in PHP itself, known as PHP2Shell, put web-facing PHP systems around the world at risk, even where the application or framework running on top is fully up to date.
Any device or system reachable directly from the internet now needs patching urgently, while systems that can only be reached over a VPN are far less exposed and can be patched in a calm, planned way.
Security works best in layers, and VPN access, network segmentation and timely patching together reduce risk far more than any single control on its own.
What Has Happened?
On 21 October 2026, the PHP security team released emergency updates for two critical vulnerabilities, tracked as CVE-2026-109618 and CVE-2026-109619 and collectively nicknamed PHP2Shell. Both are rated Critical, with a CVSS v4.0 score of 9.2, and both can allow an attacker to run their own code on a web server without needing to log in.
The disclosure did not go to plan. Details leaked online on 20 October, ahead of the coordinated release, which meant the security community and attackers alike knew something serious was coming before a fix was available. The PHP team responded by bringing the release forward.
According to PHP, every PHP installation that serves web requests is affected, including common setups such as PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. Researchers at Wiz, who discovered the flaws, report that versions as far back as PHP 5.4 are affected.
Fixes are available in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Older branches (PHP 8.1 and earlier) are end of life and will not receive an official release. The PHP team has published limited source-level patches for 7.4, 8.0 and 8.1, but these are only practical for teams that build PHP themselves.
Reports on active exploitation are still evolving. Several security vendors, including watchTowr, Patchstack and Aikido, have reported exploitation attempts in the wild, while at the time of writing neither PHP nor CISA had formally confirmed it. Either way, the safe assumption is that attackers are already scanning for vulnerable systems.
Why an Up to Date Framework May Not Protect You
This is the part that catches people out. PHP is the engine that sits underneath a huge number of web-based systems, from WordPress, Drupal, Magento and Laravel sites to management portals and web interfaces on all kinds of appliances.
PHP2Shell is a flaw in that engine, not in any particular application. That means you can have the very latest version of your CMS, framework or plugin installed and still be vulnerable if the version of PHP running underneath it has not been updated.
In many environments, PHP is updated separately from the application, often by a hosting provider, an operating system package or, in the case of an appliance, a firmware release from the manufacturer. If you are relying on a vendor to ship that update, you are also relying on their timeline, not yours.
The Real Problem: Systems Exposed to the Internet
A vulnerability like this is most dangerous where a system is directly reachable from the internet. If a web interface is published through a port forward or an open public IP, anyone in the world can try to reach it, and automated scanners will do exactly that within hours of a disclosure.
For organisations with many remote sites, this creates a very stressful day. Every public-facing device needs to be identified, checked and patched as quickly as possible, often across dozens or hundreds of locations, and sometimes before the vendor has even released an update.
How a VPN Buys You Time
This is a clear example of why we always recommend connecting to remote sites over a VPN rather than exposing devices directly to the internet.
When your systems are only reachable through an encrypted VPN tunnel, an attacker scanning the internet simply cannot see them. To reach a vulnerable web interface, they would first need to get through the VPN, which requires valid credentials or certificates.
That does not make the vulnerability go away, and patching is still essential. What it does is change the urgency. Instead of scrambling today to update every public-facing device, you can test updates properly, schedule maintenance windows and roll out fixes in a controlled way, without leaving the door open while you do it.
Security Is Best When Layered
No single control is perfect, and PHP2Shell is a good reminder of that. The strongest position comes from several layers working together:
- VPN-first access: keep management interfaces, NVRs, HMIs and other web-based systems off the public internet, and reach them over a VPN instead.
- Network segmentation: use VLANs and port isolation so that if one device is compromised, an attacker cannot easily move across to the rest of your network.
- Firewall controls: where something must be publicly reachable, restrict it with firewall rules, IP allow-lists and geo-restrictions.
- Timely patching: keep operating systems, runtimes such as PHP and device firmware up to date, and make sure you know who is responsible for each.
Each layer buys you time and reduces the impact if another layer fails.
What to Do Now
If you run any web-based systems, here are some practical steps for the coming days:
- Identify every system that runs PHP, including appliances and devices where PHP may be built into the firmware. Check with your vendors if you are unsure.
- Update to PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35, or apply your operating system or hosting provider’s patched packages as soon as they are available.
- Plan an upgrade for anything running PHP 8.1 or older, as these versions will not receive an official fix.
- Review which systems are currently exposed through port forwards or open public IPs, and move them behind a VPN where possible.
- Where a system cannot be patched or moved behind a VPN straight away, consider taking it offline or restricting access until it can be.
How Netcelero Can Help
At Netcelero, our approach has always been to give you secure remote access without exposing your networks to the internet. Our i-spi and i-ctrl devices provide easy-to-use OpenVPN access to remote sites, even over 4G, 5G and Starlink, so your monitoring centre, installers and engineers can reach NVRs, HMIs and management interfaces without open port forwards. The i-ctrl adds an inbuilt firewall, geo-locking and VLAN support, and Secure Link provides end-to-end encrypted IPsec connectivity for critical infrastructure.
When the next critical vulnerability lands, and there will always be a next one, a VPN-first design means you can patch on your terms rather than in a panic.
If you would like to review how your remote sites are connected, or talk through moving to a VPN-first approach, our team would be happy to help.

