Cybersecurity Research

PHP2Shell: Critical PHP Flaws Under Active Attack, With 22.6 Million Instances Exposed

Unit 42 · 30 Oct 2026
Key Takeaway Patch PHP and PAN-OS now, and make sure no firewall or server management interface is reachable from the public internet.

Unit 42 has warned about two critical vulnerabilities in PHP, tracked as CVE-2026-109618 and CVE-2026-109619 and nicknamed PHP2Shell. Both allow remote code execution (an attacker running their own commands on a system) and both are rated 9.2 on the CVSS 4.0 scale. PHP is widely used across web servers and content management systems, and Palo Alto Networks' Cortex Xpanse telemetry has identified more than 22.6 million exposed instances that are potentially vulnerable.

On November 19, the PHP project released patches for 18 security vulnerabilities across all supported versions, seven of them rated Critical. The PHP maintainers noted that the critical attack paths generally require non-default configurations or uncommon setups, which may limit how many systems are practically at risk.

The flaws are not just theoretical. Unit 42 says PHP2Shell is being actively exploited against PAN-OS management interfaces that are exposed to the internet. Dream Research reported a campaign in which attackers chained PHP2Shell with a Linux kernel privilege-escalation vulnerability to gain root access, and Unit 42 independently verified the same attacker's tooling and confirmed the results. Palo Alto Networks says only about 0.02% of its global installed base had internet-facing management interfaces configured and was affected, and those customers have been contacted individually.

For PAN-OS users, the guidance is clear. The management interface is not exposed to the internet by default, but if it has been, public access should be removed straight away. Management access should be limited to trusted internal IP addresses, and available PAN-OS fixes should be applied. Customers who have applied the patches are not affected, as the fixes interrupt the observed exploit chain.

Why it matters

The observed attacks target management interfaces that should never have been internet-facing, so the control that failed is network exposure of administrative access rather than the patch cycle alone. The chain of PHP2Shell with a kernel privilege-escalation flaw breaks the assumption that a web-level compromise stays contained, since attackers reached root. Any organisation running PHP, or a PAN-OS device with a reachable management interface, has to confirm both its exposure and its patch status rather than rely on PHP's note that exploitation needs unusual setups.

What to do

  • Remove public internet access to PAN-OS management interfaces if it is enabled.
  • Restrict management access to trusted internal IP addresses.
  • Apply the available PAN-OS fixes for PHP2Shell listed in the Palo Alto Networks security advisory.
  • Review the PHP Group's security advisory and patch PHP across all supported versions.
PHP PHP2Shell PAN-OS remote code execution patching CVE-2026-109618

Summarised by CISO AI from Unit 42, written with Claude Sonnet 5.5. We link back to every original so you can read it yourself.