A critical flaw in the Linux kernel's built-in file server has been hiding in plain sight for 12 years — and it lets anyone who can reach an exposed server take it over completely, without a username or a password. Tracked as CVE-2026-99362 and nicknamed NFS2ROOT, the heap buffer overflow carries a severity score of 9.8 out of 10, and researchers have already published a working exploit for it.
The bug lives in nfsd, the server built directly into the Linux kernel that handles the Network File System protocol. It affects systems running NFS version 4.1 or 4.2 — the default in many Linux distributions — on any kernel older than the patched releases, including 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1. The only other condition is that the server's TCP port 2049 is reachable, whether from the open internet or from another machine on the same network.
How a single request becomes root
Newer versions of NFS keep a cache of recent replies, and the connecting client gets to say how much memory that cache is allowed to use. NFS2ROOT abuses that: a crafted request shrinks the reply cache down to zero bytes, and the server then tries to write its full response into the undersized buffer anyway, spilling about 61 bytes past the end of a kernel heap object — before the server has even checked who is connecting.
From there, the published exploit chain leaks kernel memory to defeat KASLR, the randomisation that hides where code sits in memory, then uses the overflow a second time to redirect execution and land a shell running as root. File servers, NAS appliances, build farms and Kubernetes storage nodes are all in scope. There are no public reports of the flaw being exploited in the wild yet, but with a full remote-root exploit now circulating, security teams are treating patching as urgent rather than routine.
Found twice — once by a human, once by an AI
The flaw was discovered independently by two parties. Jérémy Jean, a researcher at ANSSI, France's national cybersecurity agency, found it in August and submitted a fix that was merged into the mainline kernel on September 14. Security firm OpenSec found the same bug a month later using its AI-powered testing harness, Antara, and submitted its own patch — along with a working exploit — to the kernel maintainers on September 22.
The bug was not publicly disclosed, and no CVE identifier was assigned, until November 19, giving maintainers time to backport fixes across eight stable kernel branches. OpenSec published its technical write-up under the NFS2ROOT name on November 25. The double discovery makes a broader point: AI-assisted vulnerability hunting is now finding the bugs that humans missed for a decade — including ones that have been sitting in the world's most widely used operating system since 2014.
What to do now
Install the latest kernel security updates from your Linux distribution vendor immediately, then reboot so the patched kernel is actually running. If patching cannot happen at once, block access to TCP port 2049 from untrusted networks, stop and disable the NFS server if file sharing is not needed, or disable NFSv4.1 and 4.2 in the server configuration as a temporary workaround.
It is also worth checking whether port 2049 is exposed to the internet at all — many NAS boxes and storage nodes are, often without their owners realising it. NFS2ROOT joins a long list of Linux privilege-escalation flaws disclosed in 2026, but this one stands apart: twelve years in the kernel, no login required, and a public exploit.



