Plexus Access Solution

NFS2ROOT: a critical Linux NFS server flaw to patch (CVE-2026-99362)

A critical flaw in the Linux kernel's NFS file server can reportedly give attackers root access. Fixes are out, and a kernel update and reboot are needed.

Key takeaways

  • CVE-2026-99362 (NFS2ROOT) is a memory flaw in the Linux kernel NFS server, rated critical.
  • Reports say no attacks in the wild are known so far.
  • Upstream fixes are in 6.12.117, 6.18.61 and 7.3.2, but distribution kernels may backport the fix, so check for the CVE in vendor notes.
  • Until you patch, limit TCP port 2049 to trusted storage networks.

What happened

A serious flaw in the Linux kernel's built-in NFS server has been given the identifier CVE-2026-99362 and the nickname NFS2ROOT. NFS (Network File System) is a common way for Linux servers to share folders with other machines, often for storage, backups and virtual machine disks. The affected part is called nfsd, the NFS server that runs inside the kernel.

According to the Amazon Linux Security Center, the bug is a heap out-of-bounds write. In plain terms, the server can write data past the end of the memory slot it set aside for a cached reply. This happens when a client negotiates a minimal cached reply size for NFSv4.1 and newer sessions. Amazon lists the impact as denial of service or memory corruption.

Security reports go further. Security Affairs and Cyberpress describe it as a pre-authentication flaw, meaning an attacker does not need a login. They say one connection to TCP port 2049, the standard NFS port, can lead to commands running as root, the all-powerful administrator account. They also report that the faulty code dates back to a March 2014 change and affects kernels since Linux 3.16. These details come from news coverage of research by the security firm OpenSec, and we could not read OpenSec's own write-up, so treat them as reported rather than confirmed.

Both articles say a French government security agency researcher, Jérémy Jean of ANSSI, found the bug independently and sent a fix in August 2026. Neither article reports attacks in the wild. Security Affairs quotes OpenSec as saying it knows of none, and Cyberpress says the exploit remains private.

The severity score differs between sources. Amazon rates it 9.4 out of 10 on the CVSS scale (a standard severity score), while the two news articles quote 9.8. Both are in the critical range. The dates also differ slightly: Amazon lists the CVE as published on 19 November 2026, while Cyberpress gives 25 November as the disclosure date.

Where the fix is available

The reports name these upstream kernel releases as containing the fix: 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1. Security Affairs warns that Linux vendors often copy a fix into their own kernel without changing the version number, so a number alone does not tell you whether a server is safe. The reliable check is whether your vendor's update notes list CVE-2026-99362.

Amazon released fixes on 27 November 2026 for Amazon Linux 2 (including its 5.4, 5.10 and 5.15 kernel streams) and for Amazon Linux 2023 (including the 6.12 and 6.18 streams). Its page marks Amazon Linux 2 as end of support. Other distributions will publish their own updates, so check your vendor.

Why it matters

NFS servers are often treated as trusted internal infrastructure, so they are patched less urgently than websites. Security Affairs notes that the server does not need to be exposed to the internet to be at risk. Any machine that can reach port 2049 could be a starting point, for example a laptop infected with malware or an unmanaged device on the same network. A flaw that gives root on a file server is serious because file servers frequently hold backups, shared documents and virtual machine images.

Fixing it needs a kernel update and a reboot. That makes it easy to postpone, because the reboot has to be scheduled around business hours. The situation is still developing, and the sources disagree on some details, so check your own vendor's advisory for the final word.

What businesses can do

  • Find out if you run an NFS server. Security Affairs suggests checking the kernel version with uname -r, whether the module is loaded with lsmod | grep -w nfsd, which NFS versions are enabled in /proc/fs/nfsd/versions, and whether anything listens on port 2049 with ss -ltn 'sport = :2049'.
  • Install the vendor kernel update and reboot. Confirm the update notes list CVE-2026-99362.
  • Limit access until you can patch. Both news articles suggest allowing TCP port 2049 only from your storage network. Security Affairs adds that a rule written for IPv4 does not cover IPv6.
  • Consider turning off NFSv4.1 and 4.2 temporarily. This can be done in /etc/nfs.conf, but the articles warn it also disables some features such as pNFS, so test first. If you do not need NFS at all, stop and disable the service.
  • Watch the logs. Security Affairs says warnings mentioning nfsd4_check_resp_size appear during exploitation attempts, and that shells started by kernel worker processes deserve investigation.

These workarounds reduce exposure but do not remove the flaw. Only the kernel update does that.

Sources

If you are unsure which of your servers share files over NFS, or you need help planning kernel updates and reboots, see our servers and cloud page or ask for a free consultation.

Ready to talk about your project?

Tell us what you need. We offer a free consultation for your software and IT needs.