Key facts
- CVE-2026-99362 is a critical vulnerability in the Linux kernel Network File System server that lets remote attackers gain root privileges.
- The flaw has existed for about 12 years, dating to Linux kernel version 3.16, released in March 2014.
- The defect is a heap buffer overflow in the in-kernel NFS server known as nfsd.
- The researcher credited with finding the flaw is Jérémy Jean, affiliated with France's cybersecurity agency ANSSI.
CVE-2026-99362, a critical heap buffer overflow in the Linux kernel’s in-kernel Network File System server known as nfsd, lets unauthenticated remote attackers gain root privileges through a single TCP connection to port 2049 without requiring prior authentication.
The defect has existed for about 12 years, dating to Linux kernel version 3.16, released in March 2014. Jérémy Jean, affiliated with France’s cybersecurity agency ANSSI, is credited with finding the flaw in the in-kernel NFS server component.
OpenSec named the flaw NFS2ROOT after giving NFSD maintainers a complete exploit and patch in late September. OpenSec Intelligence announced it publicly, writing, “🚨 BREAKING: OpenSec Intelligence uncovers #NFS2ROOT (CVE-2026-99362), a 12-year-old pre-auth root in the Linux NFS server.”
Exposure requires an unpatched kernel, a loaded nfsd module, enabled NFS version 4.1 or 4.2, and port 2049 reachable beyond loopback. A single unauthenticated TCP connection to port 2049 suffices when the server offers NFSv4.1 or NFSv4.2, and attackers need no prior credentials or local access to exploit the flaw. The attack works remotely over TCP without any local presence on the target machine.
Specially crafted NFS requests make the server write data past the end of an allocated heap buffer, corrupting kernel memory. Remote actors without privileges can obtain root through low-complexity attacks that need no user interaction, and no local account is required. The flaw is reachable over the network without any prior foothold on the target.
The exploit lets an intruder read kernel memory, defeat KASLR protections, and run a command in freed memory through a callback. KASLR randomizes the location of kernel code and data to obscure it from attackers. Closing the NFS connection causes the kernel to run the embedded command as root on the vulnerable server, and the attack chain does not require a local login or any action by a legitimate user.
Systems not running the in-kernel NFS server are not exposed, and Red Hat says default Red Hat Enterprise Linux configurations do not enable nfsd. According to OpenSec, exposed nfsd instances appear most often on file servers, NAS appliances, build farms and Kubernetes storage nodes, environments where port 2049 is reachable beyond loopback.
No confirmed in-the-wild exploitation of CVE-2026-99362 had been reported as of Nov. 25, 2026. Upstream fixed releases include 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1.
Defenders should install the latest kernel security update from their Linux distributor and reboot so the patched kernel is active. OpenSec warned, “Kernel hardening does not remove the overflow. Patch every host.”
Administrators unable to patch right away should limit who can reach the NFS server on port 2049 to trusted clients or networks. If NFS exports are unnecessary, administrators can stop and disable the nfs-server service. OpenSec’s interim measure disables NFS versions 4.1 and 4.2 through /etc/nfs.conf and restarts nfs-server, also stopping pNFS (parallel NFS) and some NFSv4.2 features.
Because attack traffic resembles normal NFS, no simple network signature exists. Defenders can watch for nfsd4_check_resp_size warnings, shells from kernel workers, short NFSv4.1 session bursts, and nfsd4_*, svc_* or call_usermodehelper* oops frames.

Join the discussion