Exploited Vulnerabilities

Palo Alto PAN-OS Fragnesia exploited: how PHP2Shell and CVE-2026-46300 rooted firewalls

PAN-SA-2026-0015: Palo Alto confirms Fragnesia (CVE-2026-46300) was chained with PHP2Shell to root PAN-OS firewalls. Attack chain, fixed builds, how to check.

By · · 6 min read

Key facts

CVEs
CVE-2026-46300, CVE-2026-109618, CVE-2026-109619
Severity
Fragnesia (CVE-2026-46300): CVSS 3.1 7.8 per NVD, local privilege escalation. PHP2Shell on PAN-OS: CVSS 4.0 9.2, critical. Palo Alto rates PAN-SA-2026-0015 Informational.
Affected
PAN-OS on PA-Series and VM-Series firewalls and Panorama, when the management web interface (or a dataplane interface with a management profile) is reachable from the internet.
Exploited in the wild
Yes. Palo Alto says exploitation of CVE-2026-46300 was observed against internet-exposed PAN-OS management interfaces, chained with PHP2Shell.
CISA KEV
CVE-2026-46300 added to CISA KEV on 28 October 2026 (due 31 October); PHP2Shell CVEs added 26 October (due 29 October). Forensic triage required.
Fixed in
Fragnesia: PAN-OS 10.2.18-h15, 11.1.16-h6, 11.2.16-h3, 12.1.10-h6, 12.2.4-h3 and other listed hotfix builds. PHP2Shell: earlier builds such as 12.2.4-h1.
What to do now
Remove internet access to PAN-OS management, upgrade to a build that carries both fixes, then hunt for webshells and persistence before trusting the device.

Palo Alto Networks has confirmed that Fragnesia, the Linux kernel privilege escalation tracked as CVE-2026-46300, was exploited against PAN-OS firewalls. Security bulletin PAN-SA-2026-0015, published on 25 November 2026, says “exploitation of CVE-2026-46300 has been observed targeting the Palo Alto Networks management interface exposed to the internet” and ships PAN-OS hotfix builds that fix the kernel bug.

Fragnesia is not new. It was disclosed with a public proof of concept on 13 May 2026, and CISA added it to the Known Exploited Vulnerabilities catalog on 28 October. What the bulletin adds is the vendor’s confirmation that the kernel half of the PHP2Shell chain reached its firewalls, and a second set of fixed builds that is different from the one many teams installed in October.

What happened

Two bugs make up the chain:

CVE What it is Score Role in the chain
CVE-2026-109618, CVE-2026-109619 (PHP2Shell) Memory corruption in PHP’s out-of-memory and fatal error handling, unauthenticated RCE CVSS 4.0 9.2 on PAN-OS Code execution on the management web server
CVE-2026-46300 (Fragnesia) Linux kernel XFRM ESP-in-TCP flaw that lets a local user write into the page cache of read-only files CVSS 3.1 7.8 (NVD) From the web server account to root

Palo Alto says the only known way to exploit Fragnesia on PAN-OS is to first exploit PHP2Shell through an internet-exposed management interface, and that it is not aware of another method. Customers already running a build fixed for PHP2Shell are protected from that entry route. Unit 42 said on 29 October that about 0.02% of Palo Alto’s installed base had internet-facing management interfaces and was impacted, and that each of those customers was contacted.

The most detailed public account of the attacks comes from Dream Research, which recovered the attacker’s tooling and published it on 26 October. Unit 42 says it independently verified that tooling and the reported results.

The attack chain, step by step

Based on Dream’s report:

  1. Discovery. Using the FOFA search engine, the attacker found about 19,000 PAN-OS firewalls with exposed management interfaces. A version scanner got answers from about 5,000.
  2. Filtering. Targets were cut to devices in the United States, Japan, Taiwan and South Korea running versions that matched the exploit’s memory profiles: the 12.1 and 12.2 branches with PHP 8.0.30. That left 240 targets.
  3. PHP2Shell. A custom, non-public exploit abuses PHP’s session.upload_progress handling on the management web server. Floods of multipart POST requests with huge filenames exhaust memory, a second request leaks a libphp.so address through the Set-Cookie header, and a final request forges a hash table entry whose destructor calls system(). Commands then run as nobody.
  4. Fragnesia. SELinux stops nobody from changing system files, so the exploit uses Fragnesia to rewrite /etc/pam.d/su in the page cache with pam_permit.so. After that, su root needs no password. Dream says the full chain, from an unauthenticated HTTPS connection to a persistent root webshell, takes under 15 minutes.
  5. Parking. 24 firewalls were rooted and received a 103-byte PHP webshell at /unauth/php/change_password.php. For 22 of them, the attacker did nothing else.
  6. Pivot. On a US government-affiliated network, the attacker read the firewall configuration, built an 8-port reverse SSH tunnel with persistence in /usr/local/lib/.panops/, used the same chain on the internal firewall management server (the 25th system), decrypted the LDAP service account password, enumerated Active Directory and attempted password spraying, backdoor accounts and SAML signing key extraction. Dream could not confirm whether those last steps succeeded.

Dream does not name the actor but lists China-nexus indicators. It reports that Unit 42 tracks the activity as CL-UNK-1280.

Why it worked

The management plane was on the internet. Every observed case involved an exposed management interface, which Palo Alto’s own best practices advise against. Thousands of them were still discoverable by certificate fingerprint.

A “local only” kernel bug became remote. Fragnesia needs a foothold. The PHP worker on the firewall is exactly that foothold, so a 7.8 local bug and a remote PHP bug added up to unauthenticated root.

Configuration is a credential store. With root, the attacker had the master key to decrypt stored secrets, including the LDAP bind password. The firewall’s legitimate connection to Active Directory became the path inward.

Two bugs, two patch trains. The PHP2Shell fix for 12.2 was 12.2.4-h1. The Fragnesia fix is 12.2.4-h3. A firewall patched in October is protected from the known entry route but still runs a kernel that is vulnerable to Fragnesia.

What defenders should do

  • Remove internet access to management. That includes dataplane interfaces with a management profile attached. Allow only trusted internal IPs or a jump box.
  • Upgrade to a build that includes both fixes. Fragnesia is fixed in 10.2.7-h41, 10.2.10-h45, 10.2.13-h29, 10.2.16-h14, 10.2.18-h15, 11.1.4-h40, 11.1.6-h42, 11.1.7-h14, 11.1.10-h38, 11.1.13-h18, 11.1.16-h6, 11.2.4-h25, 11.2.7-h25, 11.2.10-h19, 11.2.13-h6, 11.2.16-h3, 12.1.4-h15, 12.1.7-h15, 12.1.10-h6, 12.2.4-h3 and later. Palo Alto says to do it immediately if management was exposed, otherwise at the next maintenance window.
  • Hunt before you trust. Dream’s attacks ran on 23 and 24 October, days after Palo Alto’s PHP2Shell advisory of 21 October. Patching does not remove a webshell or a tunnel.
  • Rotate what the firewall holds. If you find compromise, treat the LDAP service account, certificates, HA and device keys and any VPN or SAML configuration as exposed.
  • Linux servers too. Fragnesia affects kernels without the 13 May patch. On general Linux hosts that run PHP, install your distribution’s kernel update. Tenable and Ubuntu describe blocking the esp4, esp6 and rxrpc modules as a stopgap, which breaks IPsec where it is used.

How to check if you are affected

  • Exposure: confirm from outside your network that no management web UI or XML API answers on any firewall or Panorama address.
  • Version: compare show system info against the fixed builds above and the PHP2Shell table in the CVE-2026-109618 advisory.
  • Files: a PHP file at /unauth/php/change_password.php; scripts under /usr/local/lib/.panops/; unexpected systemd services or rc.local entries; /etc/pam.d/su permitting authentication with pam_permit.so.
  • Network: outbound reverse SSH sessions from the firewall, the iox tunneling tool, and hundreds of megabytes of multipart POST traffic to the management interface. Dream says one rooted firewall crashed after about 900 MB of exploit traffic, so unexplained management plane crashes in late October deserve a second look.
  • Directory: LDAP enumeration or password spraying from the firewall or Panorama, and new user or machine accounts in Active Directory.

Dream refers readers to Palo Alto Networks for full guidance and indicators of compromise.

My take

This is the same chain that hit Check Point gateways through CVE-2026-123039, with a kernel bug in place of a root socket. Two vendors, one PHP bug, and the same lesson: the appliance runs a general purpose Linux and PHP stack, and it inherits every flaw in it.

What bothers me is the timeline. Fragnesia was public with working exploit code in May. The PAN-OS kernel fix arrived in late November, labelled Informational. Palo Alto’s reasoning is sound, since the known route is closed by the PHP2Shell fix. But “the only known way” is a statement about today, and the PHP 19 November release already showed how quickly a follow-up bug lands in the same code.

Questions for this week: which of our firewalls had management exposed in October, which build is each one on today, and has anyone actually looked for /unauth/php/ files? More cases in exploited vulnerabilities.

Sources

  1. PAN-SA-2026-0015 Security Bulletin: OSS CVEs Fixed in PAN-OS · Palo Alto Networks, 25 November 2026
  2. CVE-2026-109618 Impact of Critical Vulnerabilities in PHP (CVE-2026-109618, CVE-2026-109619) on Palo Alto Networks Products · Palo Alto Networks, 21 October 2026, updated 29 October 2026
  3. Threat Brief: Critical Vulnerabilities in PHP: CVE-2026-109618, CVE-2026-109619 · Unit 42, updated 29 October and 19 November 2026
  4. Chained PHP2Shell Exploit Roots 25 Servers, including US Government Servers · Dream Research, 26 October 2026, updated 29 October 2026
  5. CISA Adds Two Known Exploited Vulnerabilities to Catalog · CISA, 28 October 2026
  6. CVE-2026-46300 (Fragnesia): Linux Kernel ESP-in-TCP LPE FAQ · Tenable
  7. Fragnesia Linux kernel local privilege escalation vulnerability mitigations · Ubuntu
  8. Palo Alto Networks warns of Fragnesia flaw exploited in PAN-OS attacks · BleepingComputer, 25 November 2026
  9. Palo Alto Fixes Fragnesia Kernel Bug Chained With PHP2Shell in Firewall Attacks · Infosecurity Magazine, 25 November 2026
  • palo-alto-networks
  • pan-os
  • cve-2026-46300
  • fragnesia
  • pan-sa-2026-0015
  • php2shell
  • cve-2026-109618
  • cve-2026-109619
  • linux-kernel
  • edge-devices