OpenSec disclosed NFS2ROOT, a critical flaw in the Linux NFS server that lets an attacker take over a server through port 2049 without a password. Who is exposed, which distributions fixed it and how to mitigate it.
On November 25, 2026, the security firm OpenSec published the details of NFS2ROOT (CVE-2026-99362), a critical flaw in the Linux kernel's NFS server (the component that shares folders over the network using the NFS protocol). An attacker with no username or password can take full control (root) of a server if they can reach its port 2049. The CVE record, published on November 19, rates it 9.8 out of 10. The flaw has been in Linux since version 3.16, released in 2014.
Who is exposed
According to OpenSec, the flaw exposes a server when four conditions are met:
- it runs a kernel older than the fixed versions, and its distribution has not backported the fix;
- the kernel NFS server (
nfsd) is running; - it offers NFS 4.1 or 4.2, which are on by default;
- TCP port 2049 can be reached from another machine.
The firm lists file servers, Linux-based NAS devices, build servers and Kubernetes storage nodes. A server that does not share folders over NFS is not exposed. OpenSec found the flaw with Antara, its automated analysis tool, and reported it on September 22. Jérémy Jean, of the French cybersecurity agency ANSSI, found it independently and wrote the fix. OpenSec has not released its attack code and, as of this writing, the flaw is not in CISA's catalog of exploited vulnerabilities.
Who already has a fix
- Official Linux kernel: versions 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61 and 7.3.2 or later, according to the CVE record.
- Debian: fixed in Debian 13 and in Debian 12 (advisory DLA-4942-1).
- Red Hat: rates it critical. It released the fixed RHEL 8 kernel on November 26 (RHSA-2026:103817) and, on November 27, kernels for RHEL 10.0 and 10.2 Extended Update Support (EUS), in advisories RHSA-2026:104032 and RHSA-2026:104044. RHEL 9 was still affected, with no patch, as of this writing.
- Ubuntu: also rates it critical, but as of this writing it had not released fixed kernels: the 26.04 fix is listed as pending release, and 22.04 and 24.04 as still needing one.
What to do
- Find out which of your company's Linux servers and NAS devices share folders over NFS: the
ss -ltncommand shows whether they listen on port 2049. - Update the kernel and reboot as soon as your distribution releases the fix (look for the advisory that lists CVE-2026-99362). On a NAS, install the manufacturer's firmware or ask the manufacturer whether your model is affected.
- In the meantime, allow access to port 2049 only from the computers or storage network that need it, never from the internet. Red Hat recommends doing this with the firewall, or stopping the
nfs-serverservice if you do not use it. - If you cannot filter the port, OpenSec suggests turning off NFS 4.1 and 4.2 in
/etc/nfs.confand restarting the service. This disables some features, such as pNFS. - Check the kernel logs: according to OpenSec, every attempt, successful or not, leaves
nfsd4_check_resp_sizewarnings.
How we help you
With management of your Linux servers and NAS devices we check which systems expose NFS, apply the fixed kernels and close port 2049 where it is not needed. With segmented network design we keep storage apart from the rest of your network. Write to us to review your servers.
Sources
- OpenSec: NFS2ROOT, conditions, mitigations and timeline (November 25, 2026)
- CVE-2026-99362 record: fixed versions and severity (November 19, 2026)
- Red Hat: CVE-2026-99362 page, with mitigation and advisories RHSA-2026:103817, 104032 and 104044 (accessed November 28, 2026)
- Ubuntu: CVE-2026-99362 status (accessed November 28, 2026)
- Debian: fixed versions for CVE-2026-99362 (accessed November 28, 2026)
Source: OpenSec