Data security
Critical 12-year-old Linux flaw lets remote attackers take over servers
The vulnerability CVE-2026-99362, dubbed NFS2ROOT, affects servers running the nfsd service with port 2049 reachable. The attack requires no password or user interaction. A fix is already available
· 3 min read

A critical flaw in the Linux kernel, present since 2014, allows remote attackers to gain full control of servers. The vulnerability, tracked as CVE-2026-99362 and dubbed NFS2ROOT, received a severity score of 9.8 out of 10.
The information comes from the website BleepingComputer.
The flaw
The problem lies in nfsd, the NFS server built into the Linux kernel. NFS (Network File System) is a protocol used to share folders and files between computers over a network, and it is very common in file servers, network-attached storage (NAS) devices and Kubernetes clusters.
The flaw allows data to be written beyond the bounds of a reserved memory area (a buffer) when the server processes certain protocol responses tied to session control in NFS version 4.1. According to the researchers, a single connection can write 61 bytes out of place in kernel memory, and by chaining the technique, the attacker can obtain a shell with administrator (root) privileges.
Who is vulnerable
The attack works when three conditions come together:
- the nfsd service is running;
- the server uses NFS 4.1 or 4.2, which is the default;
- TCP port 2049 is reachable by the attacker, for example, over the internet.
Computers that do not run the NFS server are not affected.
Why it is so serious
- No password: the attacker needs no credentials at all;
- No interaction: no one needs to click on anything;
- Low complexity: the attack is relatively simple to carry out;
- Full control: because nfsd runs inside the kernel, the most privileged part of the system, the flaw grants complete access to the server.
So far, there are no reports of exploitation in real-world attacks.
Hidden for twelve years
The vulnerable code has existed since kernel version 3.16, released in 2014. The flaw was found with the help of an artificial intelligence system from security company OpenSec and reported to the Linux maintainers on September 22, 2026, which allowed time to prepare the fix before disclosure.
Patched versions
The fix is available starting with the following kernel versions:
- 7.4-rc1 (development version);
- 7.3.2;
- 6.18.61;
- 6.12.117;
- and also in the long-term support series: 6.6.163, 6.1.193, 5.15.226 and 5.10.275.
In practice, the simplest path is to install your distribution's kernel update (Ubuntu, Debian, Red Hat and others) and reboot the server, since the new kernel only takes effect after a restart.
If you can't update right now
- Block port 2049 at the firewall, allowing only the computers and networks that actually need NFS;
- Turn off the NFS server if it isn't needed;
- Never expose NFS to the internet: it was designed for internal networks.
What this means for your company
It's worth asking three questions today:
- Do any of our servers run NFS? File servers, NAS devices, Kubernetes environments and backup servers are the most common candidates;
- Is port 2049 open to the outside? A simple port scan will answer that;
- Are the kernels up to date? Updating packages without rebooting isn't enough for the kernel.
The case also points to a trend: AI tools are finding old flaws in code that had seemed stable for years. That helps defenders, but it also helps attackers. Keeping servers up to date and exposing only what is strictly necessary to the internet is no longer just good practice; it has become a must.
Source: BleepingComputer, with information from watchTowr, Cybernews and The Chinese University of Hong Kong