Skip to content
Rush Commerce
Software & Dev3 min read

NFS2ROOT: Linux NFS flaw gives remote root on port 2049

NFS2ROOT (CVE-2026-99362) lets an attacker take root on Linux NFS servers with no login. CVSS 9.8. Fixed kernels, who is exposed, and what to do today.

If a Linux box in your office shares files over NFS, it may hand root to anyone who can reach port 2049. The flaw is called NFS2ROOT, tracked as CVE-2026-99362 and rated 9.8 on CVSS 3.1. It sits in nfsd, the NFS server built into the Linux kernel, and it has been there since kernel 3.16 in 2014. An attacker does not need to log in. Patches shipped on November 19. No attacks have been reported yet.

What actually happened

From BleepingComputer and watchTowr's FAQ:

  • The bug. NFSv4.1 sessions keep a small cache of replies. A client can shrink that cache to the minimum. The server then writes the whole reply past the end of the buffer, into kernel memory, with data the client controls.
  • The result. OpenSec, which named the flaw, built a working chain from it. It leaks kernel memory, gets around KASLR, and runs a command as root when the attacker closes the connection.
  • Who is exposed. Any host running the in-kernel NFS server with NFSv4.1 or 4.2 enabled and TCP 2049 reachable. watchTowr says no extra configuration is needed. OpenSec lists file servers, NAS appliances, build farms and Kubernetes storage nodes.
  • Fixed kernels. 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1. You must reboot. nfsd lives in the kernel.
  • Who found it. BleepingComputer says ANSSI researcher Jérémy Jean sent a fix in August. OpenSec reported it as a security issue in September with a full exploit. That exploit is not public.

Why it matters for your business

Small businesses rarely think of the NAS in the closet as a server. It is one. It holds your invoices, your backups and, often, the only copy of the product photos. If an attacker gets root on it, your backups are gone too.

Do this today:

  • List every NFS server. Check NAS boxes, Linux file servers and any Kubernetes storage nodes. On Linux, systemctl status nfs-server tells you fast.
  • Patch and reboot. Use your distro's kernel update, then confirm the running kernel is at or above the fixed version for its branch. A package installed without a reboot does nothing.
  • Ask your NAS vendor for a date. Appliance firmware often lags the kernel fix. Get it in writing.
  • Close port 2049 to the internet. Nothing outside your network should reach it. Inside, allow only the machines that mount the share.
  • Can't patch yet? Turn off NFSv4.1 and 4.2 in /etc/nfs.conf, or stop the NFS service if nobody uses it.

Key takeaways

  • NFS2ROOT (CVE-2026-99362) is a 9.8 pre-auth root flaw in the Linux kernel NFS server
  • It affects kernels since 3.16 with NFSv4.1 or 4.2 on and TCP 2049 reachable
  • Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1
  • No attacks reported and no public exploit, but a working chain exists
  • Patch, reboot, and keep port 2049 off the internet

Don't know what is listening on your office network? We map small-business infrastructure, find the forgotten boxes, and set up patch checks that tell you when a kernel is out of date. See what we build or ask us to check your network.

Sources: BleepingComputer, watchTowr NFS2ROOT FAQ.

  • #linux
  • #nfs2root
  • #cve-2026-99362
  • #nas
  • #patching
TR

Tommy Rush — Founder, Rush Commerce

Operator turned builder. 15+ years running operations — now shipping the systems businesses run on. More

Get The Rush Report weekly — one email, zero fluff.