Fragnesia on PAN-OS: A Linux Root Fix 195 Days Late

By 11 min read
Fragnesia CVE-2026-46300, the Linux kernel flaw used to root Palo Alto PAN-OS firewalls

A Linux kernel bug patched on 13 May 2026 was still unpatched inside Palo Alto Networks firewalls in late October, and that is exactly when attackers used it. Fragnesia turned a web-server foothold into root on 24 PAN-OS firewalls in a single campaign.

In short: Fragnesia (CVE-2026-46300) is a Linux local privilege escalation that attackers chained with the PHP2Shell flaws to fully take over internet-exposed PAN-OS firewalls. Palo Alto Networks shipped the kernel fix around 24 November 2026, 195 days after the upstream Linux patch, so admins need both the October PHP2Shell hotfixes and the November Fragnesia builds.

What is Fragnesia?

Fragnesia is a flaw in the Linux kernel’s networking code that lets an unprivileged local process gain root. It is tracked as CVE-2026-46300 and scored 7.8, according to the researchers’ proof-of-concept repository and The Hacker News.

William Bowling of V12, the security research team at Zellic, found it and wrote the upstream fix. CSO Online reports that Zellic’s V12 AI auditing agent helped find it. Disclosure, the kernel patch and a public proof of concept all landed on 13 May 2026.

How does Fragnesia work?

A socket buffer (skb) is the kernel structure that holds a network packet. When the kernel merges two buffers with skb_try_coalesce(), it failed to carry over a marker saying a memory fragment was shared with something else, according to AlmaLinux’s write-up.

The ESP-in-TCP receive path, used by IPsec, then decrypts data in place. Because the kernel had forgotten the fragment was shared, that in-place write could land in the page cache of a read-only file such as /usr/bin/su. The name comes from that forgetting: fragment plus amnesia.

Why is Fragnesia hard to spot?

The page cache is the kernel’s in-memory copy of files. Fragnesia changes that copy, not the file on disk. Securonix, quoted by CSO Online in October, warned that this makes the change invisible to disk-based integrity checks, and that a reboot wipes the evidence.

V12 puts Fragnesia in the same family as Dirty Pipe: a logic bug that needs no race condition. AlmaLinux calls it the third local-root bug in that kernel area in under two weeks, after Dirty Frag on 7 May.

Four figures: 195 days to the PAN-OS fix, 24 firewalls rooted, 15 minutes to root, CVSS 7.8
A months-old kernel bug made a fast, reliable root chain possible on exposed firewalls. Data: Dream Research, CSO Online, Palo Alto Networks.

What is PHP2Shell and why does it matter here?

Fragnesia needs local code execution first. On PAN-OS, PHP2Shell provided it.

PHP2Shell is the name for two PHP memory bugs, CVE-2026-109618 and CVE-2026-109619, each rated CVSS 4.0 9.2. The first leaves request memory uninitialised after out-of-memory handling; the second lets stale request state survive after its memory is freed. Both allow unauthenticated remote code execution. PHP fixed them on 21 October 2026, and CISA added both to its Known Exploited Vulnerabilities (KEV) catalog on 26 October.

PAN-OS runs PHP behind its management web interface and XML API. Palo Alto’s advisory says PA-Series, VM-Series and Panorama are affected, and that data-plane interfaces are exposed only when a management profile is attached. GlobalProtect, Cloud NGFW and Prisma Access are listed as not affected.

We covered a later PHP session flaw found while studying the PHP2Shell patch in our phpAfterShell explainer.

How did attackers root PAN-OS firewalls with Fragnesia?

The detailed account comes from Dream Research, which found the attacker’s artefacts on 25 October and published the next day. The Register and The Hacker News reported the same findings.

Six-stage attack chain from FOFA scanning through PHP2Shell and Fragnesia to an internal pivot
PHP2Shell gave the attacker a foothold as an unprivileged user; Fragnesia turned it into root. Data: Dream Research, The Register.

Step 1: choosing targets

Setup began on 8 October. Using the FOFA internet search engine, the operator found about 19,000 internet-facing PAN-OS devices, of which about 5,000 responded with version details. Filtering to the US, Japan, Taiwan and South Korea and to matching versions left 240 targets.

Bar chart narrowing 19,000 exposed PAN-OS devices down to 24 rooted firewalls
A large scan produced a short, deliberate target list, not a spray across the internet. Data: Dream Research.

Step 2: PHP2Shell for a foothold

The attacker used a custom PHP2Shell exploit that runs code as the low-privilege nobody user. The Hacker News, citing Dream, says the operator decrypted PAN-OS firmware, built memory profiles for nine versions and calibrated the exploit in a lab first. The batch ran five targets at a time with a 30-minute timeout each.

Step 3: Fragnesia for root

SELinux stopped the web user from changing system files, so the operator used Fragnesia to become root. According to The Register, the full chain from an unauthenticated HTTPS request to a persistent root webshell took under 15 minutes.

Step 4: persistence and pivoting

With root, the attacker:

  • planted a 103-byte PHP webshell in a public web directory;
  • built an eight-port reverse SSH tunnel with the iox tool, kept alive across reboots through systemd and rc.local;
  • used the tunnel to exploit an internal firewall management server with the same chain;
  • decrypted the stored LDAP service-account password, enumerated Active Directory and sprayed passwords in a domain with no lockout;
  • tried to create backdoor accounts, extract SAML signing keys and harvest HA, TLS and device certificates.

Dream does not say whether the spraying, account creation or SAML steps succeeded. Twenty-two of the rooted devices were parked with no further activity.

Who was behind it?

Dream Research says it does not attribute the activity to a named actor, but that multiple indicators point to a Chinese-nexus operation. Unit 42 tracks the cluster as CL-UNK-1280, described as a Chinese-speaking attacker in the UTC+8 time zone. Securonix, quoted by CSO Online, called the attribution contested.

Was it an AI-assisted attack?

Partly, and less than headlines suggest. Dream found Claude Code installed on the attack infrastructure and an offensive platform configured with DeepSeek and Kimi, with Chinese-language prompts in its logs. Dream also says there is no direct evidence AI wrote the exploit; it bases its view on the style and consistency of about 40 scripts, and says the operation does not appear fully autonomous.

For other AI-linked campaigns judged on the evidence, see our analysis of the Rhysida ransomware AI agent.

Why did PAN-OS get the Fragnesia fix so late?

That is the new development. Palo Alto published bulletin PAN-SA-2026-0015 with PAN-OS builds containing the kernel fix around 24 November 2026; the page itself carries both 24 and 25 November. CSO Online counted 195 days from the upstream patch, and the October PHP2Shell hotfixes did not include it.

Timeline from Fragnesia disclosure on 13 May to the PAN-OS kernel fix on 24 November 2026
Fragnesia was public for more than five months before attackers needed it on PAN-OS. Data: AlmaLinux, Dream Research, CISA, Palo Alto Networks.

Palo Alto labelled the bulletin Informational with no score, according to CSO Online. Its reasoning: the only known remote path needs PHP2Shell first, so devices on fixed PHP2Shell builds are protected. It still recommends upgrading at the next maintenance window, or immediately if the management interface is reachable from the internet.

No source explains why the kernel update took six months. CSO Online says Palo Alto declined to comment on Panorama beyond the advisory.

Who is affected by Fragnesia on PAN-OS?

You are most exposed if you run PA-Series, VM-Series or Panorama with the management web interface or XML API reachable from untrusted networks, and you were not on a PHP2Shell-fixed build before about 25 October.

Palo Alto put the share of affected devices at about 0.02 percent of its installed base, as reported by Unit 42 and SecurityWeek; The Hacker News quoted a figure of less than 0.01 percent for internet-facing management. Small percentages of a large base still mean real victims, including US government-affiliated systems, per Dream.

Fixed PAN-OS versions

Branch PHP2Shell fixed from (October) Fragnesia fixed from (November)
12.2 12.2.4-h1 12.2.4-h3
12.1 12.1.4-h13, 12.1.7-h11, 12.1.10-h3 12.1.4-h15, 12.1.7-h15, 12.1.10-h6
11.2 11.2.4-h23 to 11.2.16-h1 11.2.4-h25, 11.2.7-h25, 11.2.10-h19, 11.2.13-h6, 11.2.16-h3
11.1 11.1.4-h38 to 11.1.16-h4 11.1.4-h40, 11.1.6-h42, 11.1.7-h14, 11.1.10-h38, 11.1.13-h18, 11.1.16-h6
10.2 10.2.7-h39 to 10.2.18-h13 10.2.7-h41, 10.2.10-h45, 10.2.13-h29, 10.2.16-h14, 10.2.18-h15

Check the advisories for the exact hotfix on your maintenance release; all later versions include both fixes.

Ordinary Linux servers

Fragnesia is a general Linux bug, not a Palo Alto one. AlmaLinux 8, 9 and 10 shipped fixed kernels on 16 May. Any appliance vendor that builds on Linux may carry it, and Singapore’s CSA lists Cisco, Citrix NetScaler, F5 BIG-IP, Siemens and Fortinet products among those affected by PHP2Shell, the bug that opens the door.

How do you detect Fragnesia and PHP2Shell attacks?

Start with the indicators Dream Research published, then hunt behaviour. Neither Palo Alto nor Unit 42 published IP addresses or hashes.

Indicators from Dream Research

  • webshell at /unauth/php/change_password.php;
  • tunnel scripts in /usr/local/lib/.panops/;
  • a modified /etc/pam.d/su;
  • a new systemd service and an rc.local hook;
  • the iox tunnelling tool, and processes running as nobody that should not exist.

Logs and signatures

  • Threat logs: Threat ID 543004 (Advanced Threat Prevention, PAN-OS 12.2.4 and later) and Threat IDs 97622 to 97678 in content 9162 or later detect PHP2Shell attempts. No signature exists for Fragnesia itself.
  • Unit 42 hunts: Unit 42 published Cortex XDR queries for child processes of PHP or web workers, shells under web accounts and reverse shells.
  • Identity logs: alert on LDAP binds from the firewall’s service account to unexpected hosts, a step CSO Online’s sources recommended.
  • Memory first: because Fragnesia lives in the page cache, capture memory before rebooting a suspect Linux host.

ATT&CK mapping

The sources publish no MITRE ATT&CK mapping. Based on the behaviour they describe, our own mapping is: T1190 (exploit public-facing application), T1068 (privilege escalation exploit), T1505.003 (web shell), T1572 (protocol tunnelling), T1543.002 (systemd service) and T1110.003 (password spraying).

How do you fix it? A prioritised list

  1. Take the management interface off the internet. Allow it only from trusted internal IPs or a jump box. This blocks the known chain on its own.
  2. Install a PHP2Shell-fixed build if you are not already on one, and confirm Threat Prevention content is current.
  3. Upgrade to a PAN-SA-2026-0015 build with the Fragnesia kernel fix at the next window, or now if the interface is exposed.
  4. Hunt for compromise on any device whose management interface was reachable in late October, using the indicators above.
  5. If root compromise cannot be ruled out, reimage and rotate everything the firewall held: admin passwords, LDAP and RADIUS service accounts, HA keys, TLS and device certificates, and the master key.
  6. Patch your other Linux systems for CVE-2026-46300. Blocking esp4, esp6 and rxrpc is a stopgap that breaks IPsec ESP and AFS.

How does this compare with other firewall management attacks?

The pattern is familiar: an exposed management plane, a web bug for a foothold, a second bug for root, and secrets that unlock the internal network. Our report on the GT13 campaign against Check Point management servers covered a parallel case in the same weeks.

Case Entry bug Root step Scale reported Source
PAN-OS, Oct 2026 PHP2Shell (unauthenticated RCE) Fragnesia kernel LPE 24 firewalls plus 1 server Dream Research
Check Point gateways, Oct 2026 PHP2Shell Gaia OS privilege escalation “a couple of dozen” customers CSO Online
Ordinary Linux, May 2026 Needs local access Fragnesia Public PoC, no exploitation reported at disclosure SecurityWeek, AlmaLinux

The difference with PAN-OS is the lag. The web bug was fixed within days, but the root step stayed available for months because an embedded kernel was not updated.

What is still unknown?

  • Why the PAN-OS kernel fix took 195 days, and whether Panorama builds follow the same schedule.
  • Whether the attackers still have access; The Register reports Dream believes they likely do.
  • Whether the Active Directory spraying, backdoor accounts or SAML key theft succeeded.
  • Exact victim counts: sources give two or three US government-affiliated systems, and 0.02 percent or under 0.01 percent of devices.
  • Dream mentions the GlobalProtect portal, while Palo Alto says GlobalProtect is not affected by PHP2Shell.
  • Who found PHP2Shell; no primary source we read names the discoverer.

The bottom line

Fragnesia shows how an old, public Linux bug becomes an emergency once it sits inside an appliance that is slow to update. Fixing the web bug closed the door; the kernel fix removes the ladder behind it. Install both, keep firewall management off the internet, and assume any device that exposed it in late October needs a forensic look.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is Fragnesia?

Fragnesia is a Linux kernel flaw tracked as CVE-2026-46300. A socket buffer 'forgets' that a memory fragment is shared, so the ESP-in-TCP receive path can decrypt data in place over page-cache pages of read-only files, which lets a local unprivileged user become root.

Is CVE-2026-46300 being exploited?

Yes. CISA added CVE-2026-46300 to its Known Exploited Vulnerabilities catalog on 28 October 2026, noting that it can be chained with the PHP2Shell bugs to plant PHP webshells and run commands as root.

Which PAN-OS versions fix Fragnesia?

Palo Alto's bulletin PAN-SA-2026-0015 lists fixed builds including 10.2.18-h15, 11.1.16-h6, 11.2.16-h3, 12.1.10-h6 and 12.2.4-h3, plus matching hotfixes on older maintenance releases and all later versions.

Do the October PHP2Shell hotfixes protect PAN-OS from Fragnesia?

They block the only known remote path to it, because Fragnesia needs local code execution first. They do not contain the kernel fix, so Palo Alto still recommends moving to the November builds.

How many Palo Alto firewalls were hacked with PHP2Shell and Fragnesia?

Dream Research documented 24 rooted firewalls and one internal management server in a single campaign in late October 2026. Palo Alto put the share of affected devices at about 0.02 percent of its installed base.

Who is behind the PAN-OS PHP2Shell attacks?

Dream Research does not name a threat actor but says multiple indicators point to a Chinese-nexus operation. Unit 42 tracks the cluster as CL-UNK-1280, a Chinese-speaking attacker in the UTC+8 time zone.

How do I check if my Palo Alto firewall was compromised?

Check whether the management web interface was reachable from the internet in October, look for the webshell path and persistence artefacts Dream Research published, and review threat logs for PHP2Shell signatures. If root compromise cannot be ruled out, reimage and rotate all secrets.

What is the mitigation for Fragnesia on ordinary Linux servers?

Install your distribution's patched kernel. AlmaLinux and others suggested blocking the esp4, esp6 and rxrpc modules as a temporary workaround, which breaks IPsec ESP and AFS.

Keep reading

FragnesiaCVE-2026-46300PAN-OSPHP2ShellPalo Alto NetworksLinux kernelCISA KEV