CVE-2026-46300: Linux Kernel XFRM ESP-in-TCP Shared-Fragment Missing Initialization Local Privilege Escalation ('Fragnesia', CISA KEV)
Critical Linux kernel local privilege escalation and page-cache corruption vulnerability disclosed in late October 2026 and officially added to the CISA Known Exploited Vulnerabilities (KEV) Catalog on October 28, 2026. Designated 'Fragnesia' (CVE-2026-46300), the vulnerability resides in net/xfrm/ socket buffer coalescing (skb_try_coalesce). When processing incoming ESP packets encapsulated over TCP, the kernel fails to preserve the shared-fragment marker. Subsequent in-place ESP decryption writes decrypted payloads directly into shared memory buffers mapped by the system page cache. This enables unprivileged local usersโand web server worker processes (e.g. www-data) initially compromised via perimeter RCE vulnerabilities like PHP2Shell (CVE-2026-109618) or Gotenberg (CVE-2026-42589)โto overwrite read-only files in memory and achieve instant root (uid=0) elevation.
HERMES THREAT SCORE & KERNEL PRIVILEGE ESCALATION EVALUATION
Target:Linux Kernel net/xfrm/ ESP-in-TCP skb_try_coalesce() Subsystem 1. Vulnerability Overview & โFragnesiaโ Mechanism
Section titled โ1. Vulnerability Overview & โFragnesiaโ MechanismโThe vulnerability, known in the security research community as โFragnesiaโ, resides in the Linux kernelโs handling of network socket buffers (sk_buff) within the XFRM IPsec ESP-in-TCP encapsulation subsystem (net/xfrm/esp_intcp.c).
flowchart TD A["Initial Web Shell (e.g. PHP2Shell / Gotenberg www-data)"] -->|"1. Craft TCP stream with ESP packets"| B["XFRM ESP-in-TCP Socket Subsystem"] B -->|"2. skb_try_coalesce merges packet fragments"| C["Loss of Shared-Fragment Marker (nr_frags)"] C -->|"3. In-Place Decryption in esp_input"| D["Shared Page-Cache Buffer Corrupted"] D -->|"4. Target /etc/passwd or shared .so library in memory"| E["Memory Overwrite without Disk Write Permissions"] E -->|"5. Execution of su / sudo as root (uid=0)"| F["Host Takeover Complete"]The In-Place Decryption Primitive
Section titled โThe In-Place Decryption PrimitiveโWhen TCP segments carrying encrypted IPsec ESP data arrive, skb_try_coalesce() attempts to merge adjacent buffer fragments to optimize network throughput. However, the function failed to maintain the flag indicating that a page fragment was shared across kernel subsystems.
When esp_input() subsequently performs in-place cryptographic decryption of the packet payload, it operates directly on physical memory pages that may be concurrently mapped into user-space or page-cache structures. By orchestrating memory layout via memory-mapped files (mmap), a local attacker causes the crypto subsystem to write attacker-controlled bytes over sensitive shared memory pages (such as /etc/passwd or libc.so), obtaining root privileges without requiring disk write access.
2. Multi-Stage Exploitation Chain in the Wild
Section titled โ2. Multi-Stage Exploitation Chain in the WildโThreat actors actively chain CVE-2026-46300 as the second stage in enterprise intrusion operations:
- Stage 1 (Perimeter Initial Access): Exploitation of PHP2Shell (
CVE-2026-109618/CVE-2026-109619) or Gotenberg (CVE-2026-42589) to deploy an unauthenticated web shell running underwww-data. - Stage 2 (Privilege Escalation via Fragnesia): The attacker executes the Fragnesia exploit binary. By establishing an ESP-in-TCP local loopback tunnel and spraying memory-mapped pages, the exploit forces
esp_inputto patch/etc/passwdin the page cache, adding a root user account. - Stage 3 (Persistence & Hypervisor Evasion): The threat actor deploys rootkits or interacts with hypervisor management services (often abusing VMware ESXi audit suppression,
CVE-2026-41709).
3. Forensic Detection & Hunting Query
Section titled โ3. Forensic Detection & Hunting Queryโtitle: Potential Fragnesia ESP-in-TCP Local Privilege Escalationid: 48e9c20a-81f1-4db5-992a-39c8942a0012status: experimentaldescription: Detects unusual local loopback TCP traffic associated with XFRM ESP encapsulation originating from unprivileged web service processes.logsource: category: network_connection product: linuxdetection: selection_process: Image|endswith: - '/nginx' - '/apache2' - '/httpd' - '/php-fpm' selection_network: DestinationIp: '127.0.0.1' Protocol: 'tcp' DestinationPort: 4500 condition: selection_process and selection_networkfalsepositives: - Legitimate local IPsec VPN gateways configured with ESP-in-TCP encapsulationlevel: criticaltags: - attack.privilege_escalation - attack.t1068 - cisa.kev4. Remediation & Kernel Patching
Section titled โ4. Remediation & Kernel Patchingโ- Apply Distribution Kernel Updates:
Update to upstream stable maintenance branches:- Linux 6.11.y: Upgrade to
6.11.5or later. - Linux 6.6.y (LTS): Upgrade to
6.6.58or later. - Linux 6.1.y (LTS): Upgrade to
6.1.114or later.
- Linux 6.11.y: Upgrade to
- Emergency Workaround (Disable ESP-in-TCP):
If immediate reboot is not feasible, restrict unprivileged network namespaces and disable ESP encapsulation over TCP:Terminal window sysctl -w user.max_user_namespaces=0 - Audit User Account Modifications:
Inspect/etc/passwdand/etc/shadowfor newly created superuser entries and inspect running processes for anomalousuid=0forks from web worker processes.
5. Knowledge Graph Neighborhood
Section titled โ5. Knowledge Graph NeighborhoodโCVE-2026-46300: Linux Kernel XFRM ESP-in-TCP Shared-Fragment Missing Initialization Local Privilege Escalation (VULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Linux Kernel Core documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)