Thursday, November 26, 2026
The Doomsday Report
24/7 Global Risk, Technology & Breaking Intelligence

China-Linked Hackers Chain PHP2Shell and Fragnesia to Root Palo Alto Firewalls

A Chinese threat actor exploited PHP2Shell and Fragnesia vulnerabilities to compromise 25 Palo Alto Networks firewalls and a management server across four countries, prompting emergency patches from the vendor and CISA alerts.

A China-linked hacking group chained two critical PHP vulnerabilities with a Linux kernel privilege-escalation flaw to gain root access on two dozen Palo Alto Networks firewalls and one management server in the United States, Japan, Taiwan, and South Korea. The campaign, confirmed by Palo Alto Networks on November 25, 2026, exploited internet-exposed management interfaces on devices running PAN-OS, the vendor’s proprietary operating system. The U.S. Cybersecurity and Infrastructure Security Agency had added all three vulnerabilities to its Known Exploited Vulnerabilities catalog in October, requiring federal agencies to patch within days. Palo Alto Networks released fixes for the Linux kernel flaw, tracked as CVE-2026-46300 and named Fragnesia, across all supported PAN-OS versions on November 25, while urging administrators to remove management interfaces from the public internet.

The attack chain began with PHP2Shell, a pair of critical remote-code-execution bugs in the PHP runtime tracked as CVE-2026-109618 and CVE-2026-109619. These flaws allow unauthenticated attackers to execute code with the privileges of the PHP web worker by sending crafted requests that set off out-of-memory conditions and leave request memory in an uninitialized or freed state. After gaining initial code execution, the attackers deployed a custom exploit for Fragnesia, a missing-initialization vulnerability in the Linux kernel’s XFRM ESP-in-TCP subsystem, to escalate from the web-worker account to full root privileges. Palo Alto Networks stated that Fragnesia has no other known exploitation pathway against PAN-OS without first exploiting PHP2Shell.

What Was Reported

  • October 20–21, 2026: Details of the two PHP vulnerabilities leaked ahead of the coordinated disclosure date. The PHP project issued emergency patches on October 21. DW reported that the flaws put millions of websites at risk and prompted governments to take sites offline (DW, October 21, 2026). CISA added both CVEs to its Known Exploited Vulnerabilities catalog on October 26.
  • October 28, 2026: CISA added Fragnesia (CVE-2026-46300) to its Known Exploited Vulnerabilities catalog, noting that threat actors were chaining it with PHP2Shell to implant PHP webshells and run commands as root. The agency set a due date of the end of October for federal agencies to apply mitigations (CISA, October 28, 2026).
  • October 29, 2026: The Record reported that cybersecurity firm Dream identified a Chinese-speaking threat actor that compromised 25 servers — 24 firewalls and one internal firewall management server — belonging to a U.S. government-affiliated organization and other targets in the United States, Japan, Taiwan, and South Korea. The attackers used AI-assisted tooling to build precise memory profiles for nine PAN-OS software versions (The Record, October 29, 2026).
  • November 19, 2026: The Hacker News published a deep technical analysis confirming that the actor decrypted PAN-OS firmware, extracted PHP libraries, and crafted exploits that defeated address-space layout randomization by leaking the libphp.so base address via the Set-Cookie header. SELinux confined the initial shell, but the Fragnesia chain bypassed it to achieve root (The Hacker News, November 19, 2026).
  • November 24, 2026: Palo Alto Networks released PAN-OS builds addressing Fragnesia, including versions 12.2.4-h3, 12.1.10-h6, 11.2.16-h3, 11.1.16-h6, and 10.2.18-h15, according to WaterISAC (WaterISAC, November 26, 2026).
  • November 25, 2026: Palo Alto Networks published its advisory, confirming observed exploitation of CVE-2026-46300 against internet-exposed management interfaces. The vendor rated the advisory informational and did not assign a CVSS score, noting that all exploitation activity involved devices violating best practices by exposing management interfaces to the public internet. Fixes were issued for PAN-OS 10.2, 11.1, 11.2, 12.1, and 12.2 across dozens of build numbers (BleepingComputer, November 25, 2026; SecurityWeek, November 25, 2026).
  • November 26, 2026: ThaiCERT, Thailand’s national computer emergency response team, issued an alert urging administrators to update PAN-OS to a fixed release per the vendor advisory (ThaiCERT, November 26, 2026).

Context & How It Works

The PHP2Shell vulnerabilities reside in the PHP language runtime itself. CVE-2026-109618 stems from uninitialized request memory left behind when PHP aborts a request due to an out-of-memory condition. CVE-2026-109619 involves a pointer to freed memory that persists after request cleanup. Both flaws require no authentication and activate when attackers send deeply nested, empty file fields that cause PHP to allocate far more memory than the request body contains, exhausting the default 128-megabyte memory limit while staying under the default 8-megabyte post_max_size. On typical web servers, address-space layout randomization (ASLR) makes reliable exploitation difficult because memory offsets shift on each restart. Network appliances such as firewalls change this calculus: every device on a given software version runs identical binaries, allowing attackers to pre-compute memory offsets by analyzing firmware images offline.

The Fragnesia vulnerability (CVE-2026-46300) is a logic bug in the Linux kernel’s XFRM subsystem, which handles IPsec Encapsulating Security Payload (ESP) packets encapsulated in TCP. A missing initialization of a variable during socket-buffer coalescing allows a local attacker to decrypt shared fragments in place, corrupting page-cache-backed data and ultimately enabling privilege escalation to root. On PAN-OS, the PHP web worker runs confined by SELinux, but the kernel exploit bypasses this confinement. Palo Alto Networks confirmed that the only known way to exploit Fragnesia against its products is to first achieve code execution via PHP2Shell on an internet-exposed management interface.

Palo Alto Networks initially scored the PHP2Shell impact on its own products at 8.7 with moderate urgency on October 21, then raised it to 9.2 critical with the highest urgency on October 27 after confirming exploitation. The affected PAN-OS versions ship with end-of-life PHP branches 8.0.30 and 7.4.33 , which no longer receive upstream security updates, compounding the risk. The vendor’s longstanding guidance is to never expose management interfaces directly to the internet; instead, access should be restricted to trusted internal IP addresses or routed through a VPN. The compromised devices in this campaign all violated that guidance.

CISA’s Binding Operational Directive 26-04 requires federal civilian agencies to remediate vulnerabilities in the Known Exploited Vulnerabilities catalog within specified timeframes. All three CVEs in this chain , CVE-2026-109618, CVE-2026-109619, and CVE-2026-46300 , were added to the catalog in October with due dates by the end of the month or earlier. The directive also mandates forensic triage for affected assets, meaning agencies must investigate whether exploitation occurred before patching.

Broader Implications & Risk Outlook

This campaign illustrates how attackers increasingly target network infrastructure appliances , firewalls, VPN gateways, load balancers , because they run predictable, often outdated software stacks and are routinely exposed to the internet for remote administration. The PHP2Shell-Fragnesia chain demonstrates that vulnerabilities in third-party components bundled into appliances (in this case, PHP and the Linux kernel) can be weaponized more reliably than flaws in proprietary code, since attackers can study the exact same binaries in a lab. The involvement of AI-assisted tooling to automate memory profiling and exploit development across nine firmware versions indicates a lowering of the skill barrier for complex appliance exploitation.

The fact that a Chinese-speaking actor compromised a U.S. government-affiliated organization underscores the strategic value of firewall access: from a root shell on a perimeter firewall, an adversary can manipulate routing, disable logging, harvest credentials, and pivot into internal networks. The campaign also hit targets in Japan, Taiwan, and South Korea, suggesting a regional surveillance focus. Palo Alto Networks’ decision to rate its advisory informational rather than critical , even with active exploitation , may delay patching in organizations that rely on vendor severity ratings to prioritize remediation.

Defenders should treat internet-exposed management interfaces on any network appliance as a critical vulnerability by default. The mitigations are straightforward: restrict management access to dedicated out-of-band networks or VPNs, apply vendor patches promptly, and monitor for anomalous administrative logins or configuration changes. CISA’s KEV catalog entries for all three CVEs provide a regulatory forcing function for U.S. federal agencies, but private-sector operators of Palo Alto firewalls face no equivalent mandate.

What Could Change This Assessment

  1. Discovery of a Fragnesia exploitation path that does not require PHP2Shell , If researchers or attackers demonstrate root escalation via Fragnesia alone (for example, through a different local-access vector), the risk surface would expand to all unpatched Linux systems running the vulnerable kernel subsystem, not only PAN-OS devices with exposed management interfaces.
  2. Public release of a reliable, weaponized exploit for PHP2Shell on x86-64 PAN-OS with ASLR enabled , The current exploit chain required extensive offline firmware analysis to defeat ASLR. A public exploit that works generically against x86-64 PAN-OS builds would dramatically increase the number of capable threat actors.
  3. Observation of the same PHP2Shell-Fragnesia chain targeting other vendors’ appliances , The InfraTrust report from Eclypsium noted that PHP2Shell has been exploited against Check Point firewalls and other network devices bundling PHP. Confirmation of the full chain on additional platforms would indicate a broader appliance-targeting campaign.

Sources