Fragnesia: The Linux Kernel Flaw Chained With PHP2Shell — Patch Before October 31


Last week it was PHP2Shell. This week, the second half of the chain has a name: Fragnesia. On October 28, the US cybersecurity agency CISA added a Linux kernel vulnerability, CVE-2026-46300, to its Known Exploited Vulnerabilities (KEV) catalogue — the list of flaws with confirmed evidence of real-world attacks. Federal agencies must fix it by October 31. Everyone else should treat that deadline as their own.

What Is Fragnesia?

Fragnesia is a flaw in the Linux kernel’s handling of network packet fragments. In plain terms, the kernel loses track of a marker that says “this piece of data is shared, don’t overwrite it in place.” When encrypted network traffic is then processed, it can be decrypted directly over memory that backs files on disk — corrupting data the kernel trusts. CISA describes it as a missing initialization of a variable, scored CVSS 7.8 (high). On its own it is a local privilege escalation: an attacker who already has a foothold can climb to root, the highest privilege on the system. That “already has a foothold” part is exactly why it matters right now. Attackers rarely use one bug alone. They chain them.

How the Chain Works

Here is the attack chain researchers have documented, in simple steps:

  • Step 1 — PHP2Shell gets them in. The attacker exploits the critical PHP flaws (CVE-2026-109618 and CVE-2026-109619, CVSS 9.2) on a web-facing server and plants a PHP webshell. At this point they can run commands, but only as the limited web-server user.
  • Step 2 — Fragnesia gets them root. The attacker then triggers the kernel flaw to escalate from that limited user to full root control of the machine.
  • Step 3 — They dig in. With root, they can steal credentials, move to other machines on the network, and install persistence so they survive a reboot.

Security researchers at Dream reported that on October 23–24, an operator used exactly this chain against 25 internet-facing firewalls, and in two cases inside a US government-affiliated network went further — setting up a reverse tunnel for persistence, reaching an internal firewall management server, and attempting to create backdoor domain accounts. The attribution to a specific group is still reported as suspected, not confirmed — but the technique itself is confirmed by CISA’s KEV listing.

Who Is at Risk?

Anyone running Linux servers with PHP exposed to the internet is in the highest-risk group — the same servers that needed the PHP2Shell patch by October 29 now need the kernel patch too. Firewalls and appliances built on Linux are also in scope, since the reported campaign targeted internet-facing firewall devices. If you only run a Linux desktop at home and keep it updated, your risk is far lower, but the same rule applies: update.

What to Do Right Now

  • Patch PHP first if you haven’t. Update to PHP 8.2.35, 8.3.36, 8.4.27 or 8.5.12 (whichever branch you run). The PHP2Shell deadline was October 29.
  • Patch your kernel next. Install your distribution’s latest kernel update — Ubuntu, Debian, RHEL and others have shipped fixed kernels — and then REBOOT. A kernel patch does nothing until the new kernel is actually running, and this is the step people most often forget.
  • Check for compromise, don’t just patch. If your server was internet-facing and unpatched during October 23–28, look for unexpected webshell files in web directories, new user accounts, unfamiliar scheduled tasks, and strange outbound connections. Patching a compromised machine without cleaning it just leaves the attacker inside.
  • Reduce exposure. Web servers and firewalls should not expose management interfaces to the whole internet. Put admin panels behind a VPN, and keep an inventory of every PHP installation — not just the obvious ones.

The Lesson

Fragnesia is a reminder that patching is a chain, not a single event. Fixing PHP but leaving the kernel vulnerable leaves the escalation path open; fixing the kernel but leaving PHP vulnerable leaves the front door open. Attackers chain bugs, so defenders must chain patches. Patch both, reboot, and then hunt for signs someone already walked through.

Comments

Popular Posts