TL;DR: Fragnesia, tracked as CVE-2026-46300, is a Linux kernel local privilege escalation in the ESP-in-TCP path that lets an unprivileged attacker corrupt the page cache for a read-only binary and execute the modified cached copy as root, according to Corgea. The case shows why disk integrity alone is not enough when kernel networking paths expose cache-resident write primitives.
At a glance
What this is: Fragnesia is a Linux kernel local privilege escalation that abuses ESP-in-TCP to corrupt page cache and run a modified read-only binary as root.
Why it matters: It matters because kernel compromise can bypass file-integrity assumptions, so IAM, PAM, and platform teams need runtime controls and host hardening, not just disk checks.
Context
Fragnesia is a local privilege escalation in the Linux kernel, not a disk tampering problem. The core governance gap is that organisations often trust file integrity checks to represent the whole host state, even when kernel networking paths can alter what the kernel executes from memory.
The issue sits at the intersection of host hardening and identity control because a normal local user, build job, or untrusted container can become a root execution path if the kernel exposes the wrong primitives. That makes the problem relevant to multi-tenant Linux estates, self-hosted CI runners, and developer workstations where local code execution is routine.
Key questions
Q: What breaks when Linux page-cache corruption is possible on a shared host?
A: Read-only binaries are no longer a reliable trust boundary if the kernel can alter cached pages in memory. Disk checks may still show a clean file while the host executes a modified cached copy as root, so the failure is at runtime integrity, not storage integrity.
Q: Why does Fragnesia create root risk even without changing the on-disk file?
A: Because the attack changes the page cache, which is the in-memory version the kernel actually executes. A read-only file on disk can still produce a privileged shell if the cached bytes are corrupted before execution, which is why filesystem-only validation is insufficient.
Q: What are the signs that Linux kernel privilege escalation is being attempted through XFRM paths?
A: Watch for unexpected namespace creation, XFRM netlink activity from non-network-management processes, and unusual splice() or sendfile() use immediately before a setuid binary executes. Those signals suggest an attacker is trying to reach the vulnerable kernel path rather than using normal administration workflows.
Q: How should teams respond when a Linux host may already have cache-resident root compromise?
A: Patch or mitigate first, then reboot or flush caches to remove in-memory modifications. After that, treat the host as fully compromised, review recent local code execution and CI activity, and rotate credentials reachable from the affected workloads before returning the system to service.
Technical breakdown
How ESP-in-TCP exposes a write primitive in the kernel
ESP-in-TCP is part of the Linux XFRM path that handles IPsec traffic over TCP. In Fragnesia, the vulnerable logic lets file-backed pages be moved into a socket receive path and then treated as encrypted payload, so decryption occurs against cache-resident data rather than a normal immutable file. That creates a write primitive in memory even though the on-disk binary is never modified. The important point is that the kernel is being tricked into editing the page cache, which is what later gets executed. This is a memory-resident integrity failure, not a filesystem one.
Practical implication: Treat kernel networking features as part of the trusted execution path and harden or disable exposed ESP modules where they are not required.
Why page cache corruption bypasses file-integrity checks
Page cache is the kernel's in-memory copy of file data, separate from the file on disk. When an attacker changes the cache but not the underlying inode, the binary appears clean to disk-based scanners while the kernel still executes the altered cached version. That is why a read-only file can behave as if it were writable without leaving a persistent filesystem artifact. In practice, the attacker only needs enough control to shape the cached bytes before the privileged process reads them. This is the same reason cache-resident tampering is more dangerous than a simple file overwrite.
Practical implication: Add runtime telemetry and cache-flush response steps, because disk-only integrity validation will miss this class of compromise.
Why local code execution becomes root in multi-tenant Linux
The exploit path depends on untrusted local code being able to reach namespace and networking setup primitives that the kernel should not expose broadly. Once a low-privilege process can drive the vulnerable path, it can use the cache corruption to alter a setuid binary and trigger root execution. That makes the real risk not just the bug itself, but the operational environment around it: shared hosts, CI runners, and developer systems that already permit local code execution. Fragnesia shows how a narrow kernel flaw becomes a host-level identity collapse when local execution boundaries are weak.
Practical implication: Reduce exposure by restricting user namespaces, XFRM operations, and unnecessary CAP_NET_ADMIN access on systems that run untrusted code.
Threat narrative
Attacker objective: The attacker wants local code execution to become root-level control of the Linux host while leaving the disk image intact.
- Entry occurs when a local unprivileged process reaches the Linux kernel's ESP-in-TCP path on a host that exposes the vulnerable modules.
- Credential or privilege abuse follows as the attacker steers cache-resident writes into a read-only binary's page cache, including privileged setuid targets.
- Impact occurs when the modified cached binary executes as root while the on-disk file remains unchanged, producing host compromise without a persistent filesystem artifact.
Breaches seen in the wild
- Gladinet Hard-Coded Keys RCE Exploitation: Actively exploited hard-coded keys in Gladinet CentreStack and Triofox enable remote code execution.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Fragnesia is a host governance failure as much as a kernel vulnerability. The bug matters because organisations often treat disk integrity and package state as sufficient proof that a Linux host is safe. Fragnesia shows that the kernel can still execute altered memory-resident code even when the file on disk looks untouched. The practitioner conclusion is that host trust must include runtime state, not just filesystem state.
Page-cache corruption is a distinct failure mode that conventional integrity tools do not model. The article's core lesson is that cache-resident modification breaks the assumption that read-only binaries are safe once installed. That assumption matters across Linux fleet management, CI/CD runners, and container nodes because all three can host local code execution with elevated downstream impact. The practitioner conclusion is to treat memory-resident tampering as a first-class detection and response concern.
Local privilege escalation in shared Linux environments is an identity control problem. Once untrusted local code can reach namespace creation and kernel networking setup, the boundary between ordinary execution and root access becomes too thin. This is where IAM and PAM thinking has to extend into platform controls: who can run code, who can create namespaces, and which kernel capabilities are actually required. The practitioner conclusion is to map those privileges explicitly instead of relying on workload trust.
Fragnesia fits the same governance pattern as other cache-resident kernel escalations. The named concept here is cache-resident privilege drift, where a host appears stable at the file layer while its in-memory execution state has already been subverted. That pattern is especially dangerous in multi-tenant Linux because the blast radius moves from one user session to full host compromise. The practitioner conclusion is to prioritise runtime hardening, module reduction, and post-exploitation cache clearing over reliance on static file checks.
What this signals
Cache-resident privilege drift: Linux teams need a control model that treats the page cache as execution state, not just temporary storage. If a setuid binary can be altered in memory while the file remains unchanged, runtime hardening becomes more important than post-incident file validation. The practical signal is to shift detection toward kernel activity, namespace creation, and unusual socket-path behaviour.
Shared Linux platforms carry the highest operational risk because they combine local code execution with broad kernel reach. Self-hosted CI runners, developer workstations, and container nodes are not just convenience layers; they are privilege concentration points that deserve explicit restriction of user namespaces, CAP_NET_ADMIN, and kernel networking features.
Fragnesia reinforces a familiar identity lesson: the attacker does not need to own the disk if they can subvert the path that decides what executes. For IAM and PAM teams, the relevant question is which local capabilities can bridge from ordinary user to root, and whether those capabilities are narrower than the business assumes.
For practitioners
- Restrict vulnerable ESP modules on hosts that do not need them Blacklist esp4 and esp6 where IPsec is not required, remove the modules from active hosts, and regenerate initramfs if your distribution needs that step for boot-time enforcement.
- Limit untrusted local code paths on shared Linux systems Tighten user namespace creation, avoid granting CAP_NET_ADMIN without a reviewed need, and treat self-hosted CI runners and developer workstations as untrusted execution zones.
- Add runtime detections for XFRM abuse Alert on unexpected XFRM netlink activity, unusual use of splice() or sendfile(), and namespace creation by application workers or build jobs that should not manage IPsec.
- Drop page cache after suspected exploitation After mitigation and patching, reboot or flush caches so cache-resident modifications to privileged binaries cannot persist in memory.
Key takeaways
- Fragnesia shows that Linux privilege boundaries can fail in memory even when the filesystem still looks clean.
- The attack matters because a local user can turn cache corruption into root execution through ESP-in-TCP handling.
- Runtime telemetry, module restriction, and cache clearing are the controls that matter most when the kernel itself is the trust boundary.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | TA0004;TA0006;TA0008 — Privilege Escalation; Credential Access; Lateral Movement | The article centers on local privilege escalation through a kernel path that enables root execution. |
| Recommendation — Map the attack path to privilege escalation and restrict local code paths that can reach kernel networking features. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The exploit succeeds where host permissions allow untrusted local code to reach privileged kernel operations. |
| Recommendation — Review host entitlements and remove unnecessary namespace and networking privileges from untrusted workloads. | ||
| CIS Controls v8 | CIS-5 — Account Management | Shared hosts and CI systems need tighter account and execution governance to reduce local root escalation exposure. |
| Recommendation — Constrain account and execution access on shared Linux systems to reduce paths from user context to root. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | Container and automation contexts can behave like non-human execution identities with excessive host privilege. |
| Recommendation — Audit workload and automation privileges so untrusted execution cannot inherit host-level rights. | ||
Key terms
- Page Cache: The page cache is kernel-managed memory used to keep file data available for faster access. When a flaw allows an attacker to corrupt or influence page cache contents, sensitive binaries or data can be altered in memory without the expected protection boundary holding.
- Local Privilege Escalation Amplifier: A host condition where a local vulnerability becomes far more dangerous because the affected machine already has access to valuable systems. The escalation may be technically local, but the impact becomes organisational when the host can reach signing, deployment, or cloud control planes.
- XFRM: XFRM is the Linux IPsec framework that manages packet transformations for encrypted network traffic. When XFRM code handles data incorrectly, it can create a host-level security problem even if the original goal was only to protect network confidentiality.
- Kernel Runtime Integrity: Kernel runtime integrity is the idea that the operating system's live execution state must remain trustworthy, not just its files on disk. It covers memory, caches, module state, and privileged code paths that can be altered without leaving a persistent filesystem change.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity, and secrets management in the context of real operational risk. It is a fit for practitioners who need to connect identity controls to host, cloud, and automation environments.
Published by the NHIMG editorial team on August 21, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org