Firewalls and PHP2Shell: check and secure pfSense, OPNsense, Palo Alto, Check Point, Sophos & co.
- Many firewalls and appliances use PHP for their web interface, captive portals or VPN portals – so they can be affected by PHP2Shell.
- Updates available for pfSense and OPNsense, among others; Palo Alto is rolling out hotfixes per release line. Check Point, Citrix NetScaler and F5 BIG-IP are affected according to the vendors.
- Not affected according to the vendor: Sophos Firewall/UTM, FortiGate (FortiOS) and WatchGuard.
- Most important immediate step everywhere: do not expose the management interface to the internet – only from the admin network or via VPN.
As of 26 Oct 2026. Vendors update their advisories continuously – always check the linked vendor advisory before acting.
Why firewalls can be affected
PHP2Shell (CVE-2026-109618 / CVE-2026-109619) is a flaw in PHP itself. Any application running a vulnerable PHP version is potentially exploitable – including a firewall whose web interface is written in PHP. What matters is who can reach the PHP interface:
- Web interface only reachable from the LAN/admin network: low risk, but still install the update soon (e.g. in case a LAN client is compromised).
- Web interface, captive portal or VPN/user portal reachable from the internet or guest Wi-Fi: high risk – act immediately.
Vendor overview
| Vendor / product | Status | Fixed in |
|---|---|---|
| pfSense | affected, update available | Plus 26.07 / 26.03.1, CE 2.9.0 (PHP 8.5.12), CE 2.8.1 (PHP 8.3.36) – via package update |
| OPNsense | affected, update available | 26.7.7, Business Edition 26.4.2p3 |
| Palo Alto PAN-OS / Panorama | affected, hotfixes rolling out | per line, e.g. 10.2.18-h13, 11.1.16-h4, 11.2.10-h16 – more to follow |
| Check Point (Quantum Spark, Force, Cloud Firewall) | affected when certain portal/VPN features are enabled | Jumbo hotfixes announced |
| Citrix NetScaler ADC / Gateway | affected (management interface) | see vendor advisory |
| F5 BIG-IP | affected: 17.1.0–17.1.3, 17.5.0–17.5.1, 21.1.0 (Configuration utility, APM page templates) | see vendor advisory |
| Juniper (Junos J-Web) | under investigation | – |
| Fortinet | FortiOS/FortiGate, FortiManager, FortiAnalyzer, FortiWeb and others not affected; FortiDDoS, FortiSOAR, FortiClient Cloud under investigation | – |
| Sophos (Firewall/XGS, UTM) | not affected | – (IPS signatures available) |
| WatchGuard | not affected (initial analysis) | – |
| Securepoint, IPFire, Zyxel, SonicWall, LANCOM and others | no public statement found | ask the vendor |
pfSense
Check
Via SSH or on the console (menu option 8 "Shell"):
php -v
pkg info | grep -i php
Safe is PHP 8.5.12 (Plus 26.07, Plus 26.03.1, CE 2.9.0) or 8.3.36 (CE 2.8.1). Update older pfSense versions to a supported release first.
Fix
The fixes ship as a package update – it must be run on the command line, not from the web interface:
pfSense-upgrade -c
pkg upgrade -y
# reinstall the WireGuard package afterwards (if used), then:
reboot
If you are connected via WireGuard, expect a short interruption – better work from the console or another connection.
Harden
- Firewall → Rules → WAN: there must be no rule allowing the web interface (GUI HTTPS port) from the internet. By default the GUI is only reachable from the LAN.
- Captive Portal (Services → Captive Portal) is used by untrusted clients – if enabled, update immediately.
- Use a VPN for remote access to the GUI.
OPNsense
Check
opnsense-version
php -v
Alternatively in the web interface under System → Firmware → Status. Safe: 26.7.7 (community) or 26.4.2p3 (Business Edition).
Fix
- System → Firmware → Updates: check for updates and install 26.7.7 (or BE 26.4.2p3).
- Reboot or restart the web interface so that no old PHP processes keep running.
- Check again with
php -v.
Harden
Under System → Settings → Administration, restrict "Listen Interfaces" to LAN or the admin network and make sure no WAN rule exposes the GUI. Update captive portals (if used) promptly as well.
Palo Alto Networks (PAN-OS, Panorama)
Check
show system info | match sw-version
Compare the version with the vendor advisory for CVE-2026-109618. Hotfixes already released include: 10.2.18-h13, 11.1.16-h4, 11.1.13-h16, 11.1.10-h36, 11.1.6-h40, 11.1.4-h38, 11.2.10-h16. Hotfixes for 12.1, 12.2 and further maintenance releases of 10.2, 11.1 and 11.2 were announced for the end of October. Not affected are, among others, Prisma Access, Cloud NGFW and the GlobalProtect app.
Fix and harden
- Install the hotfix for your release line (Device → Software), Panorama as well.
- Until then: make the management interface reachable only from trusted internal networks (Device → Setup → Interfaces → Management → Permitted IP Addresses); no management profiles on interfaces reachable from the internet.
- The threat prevention signatures (incl. threat ID 543004) only protect management access under specific conditions – they do not replace the hotfix.
Check Point
According to the vendor, the web interfaces of Quantum Spark, Quantum Force and cloud firewalls are affected when certain portal or VPN features are enabled. Jumbo hotfixes have been announced.
- Check: version in the Gaia portal or via
clish -c "show version all"; check the Check Point SecureKnowledge article on PHP2Shell against your products and enabled portals. - Harden until the hotfix: Gaia portal and SmartConsole access only from the admin network; disable portals you don't need (e.g. Mobile Access, UserCheck, Captive Portal) on external interfaces.
- Fix: install the announced Jumbo hotfix as soon as it is available.
Citrix NetScaler and F5 BIG-IP
- Citrix NetScaler ADC / Gateway: the management interface is affected. Make NSIP and SNIPs with management access reachable only from the admin network and install the builds from the Citrix advisory. Check:
show version. - F5 BIG-IP 17.1.0–17.1.3, 17.5.0–17.5.1 and 21.1.0 (Configuration utility, APM page templates): never expose the Configuration utility to the internet (self-IP port lockdown "Allow None", management port only in the admin network) and install the updates from the F5 advisory. Check:
tmsh show sys version.
Juniper
The investigation of J-Web (EX, SRX) is still ongoing. As a precaution, allow J-Web only from the admin network or – if not needed – disable it:
show version
# restrict J-Web to a management interface:
set system services web-management https interface fxp0.0
# or disable it completely:
delete system services web-management
commit
Fortinet, Sophos and WatchGuard
- Fortinet: FortiOS (FortiGate), FortiManager, FortiAnalyzer, FortiWeb, FortiMail, FortiProxy and many more are not affected according to advisory FG-IR-26-186. Under investigation: FortiDDoS, FortiSOAR and FortiClient Cloud Services – keep their management off the internet. FortiGate can protect PHP servers behind it with IPS signatures (62657, 62658).
- Sophos: according to the advisory, no Sophos products are affected (Sophos Firewall/XGS, UTM). Since 22 Oct 2026 Sophos Firewall ships IPS signatures that detect attacks on PHP servers in the network – enable them in the IPS policies. According to the vendor, the Sophos Firewall WAF does not yet include specific protection.
- WatchGuard: according to its initial analysis, no WatchGuard products are affected (advisory WGSA-2026-0032).
Other vendors
For Securepoint, IPFire, Zyxel, SonicWall, LANCOM, DrayTek and others we have not found a public statement yet. In any case:
- Check the vendor's security advisories or support portal for "PHP2Shell" or "CVE-2026-109618".
- Do not expose the web interface, user/VPN portals or captive portals to the internet.
- Install firmware updates promptly and enable automatic notifications.
After the update: look for traces
If the interface was reachable from the internet, the update alone is not enough. Check from the beginning of August 2026 onwards: unknown administrator accounts, changed rules or port forwards, unknown files in the web directory, unusual logins in the system log. If in doubt, renew credentials and VPN keys.
Also check the servers behind the firewall: PHPCheck.net for public websites, the LAN check for internal servers.
Sources
- phpvulnerabilities.app: pfSense · OPNsense · Palo Alto · Fortinet · Juniper (unofficial overview)
- SecurityOnline: PHP2Shell Affected Products
- Sophos Security Advisory: PHP2Shell
- WatchGuard: PHP2Shell