Global Technology

Threat actors exploit PHP2Shell and Fragnesia to target PAN-OS firewalls

Attackers are chaining PHP2Shell vulnerabilities with the Fragnesia Linux kernel flaw to gain root access on Palo Alto Networks firewalls. This exploitation targets devices with management interfaces exposed to the public internet, affecting various PAN-OS versions.

Threat actors exploit PHP2Shell and Fragnesia to target PAN-OS firewalls

Targeted management interfaces

Palo Alto Networks confirmed today that threat actors use a combination of the PHP2Shell and Fragnesia vulnerabilities to target firewalls running PAN-OS. These attackers specifically target devices that expose their management interface to the public internet, a practice that violates the company’s recommended best practices. I find it reckless that these devices remain exposed when CISA issued a warning on October 28 about how attackers chain these flaws to deploy PHP webshells and execute commands as root. Dream Security researchers previously reported a campaign using this same chain to target servers in Japan, South Korea, and Taiwan, alongside the United States, where the campaign targeted a U.S. government affiliate. This specific exploitation pathway remains the only known way to exploit Fragnesia, which is a Linux kernel vulnerability in the XFRM ESP-in-TCP subsystem. PHP2Shell consists of two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619, that allow unauthenticated attackers to run code remotely with the privileges of the PHP web worker.

Mitigation and vulnerability details

The Fragnesia flaw, identified as CVE-2026-46300, allows a local attacker with low privileges to escalate permissions to root level. Attackers combine this with PHP2Shell, which includes CVE-2026-109618 and CVE-2026-109619, to allow unauthenticated code execution with the privileges of the PHP web worker. Administrators who applied updates for the PHP2Shell flaws should be safe from these attacks. Palo Alto Networks released fixes for Fragnesia on several PAN-OS versions:

PAN-OS Version Fix status
10.2 Fixed
11.1 Fixed
11.2 Fixed
12.1 Fixed
12.2 Fixed

I recommend that administrators restrict remote management interface access to trusted internal IP addresses to prevent further unauthorized access. The company noted that all observed exploitation activity involved devices with management interfaces exposed to the public internet. This failure to follow basic security protocols enabled the attackers to reach the Fragnesia flaw by using PHP2Shell vulnerabilities. Because the two flaws are exploited together, the specific patch-carrying build varies. This chaining of exploits allows a remote attacker to bypass security by first using the PHP vulnerabilities to run code and then using Fragnesia to gain root access.