November 27, 2026

NFS2ROOT, the Linux "Root Without a Login" Flaw: What to Check Today If You Run an NFS Server

A flaw in the Linux kernel’s NFS server (nfsd) lets a remote client corrupt kernel memory before it has logged in (CVE-2026-99362). OpenSec, the security research firm that found it, published it on November 25 under the name NFS2ROOT. The firm says it used a private exploit to get a root shell, meaning full administrator control, with no credentials (OpenSec’s write-up). The CVE record rates it 9.8 (the cve.org score shown on Red Hat’s page).

A headline like “root without authentication” makes it sound as if every Linux server is at risk. It isn’t. It matters only for machines that run the NFS server and can be reached on its port. This article covers how to tell whether yours is one, where each distribution stands, and what to do until a fixed kernel is available, from the primary sources. The information is current as of November 27, 2026.

Much of what circulates in secondary coverage differs from the original text. We read the primary sources ourselves, but we recommend that you check each vendor’s original page too. Sources are given next to each statement.

Key points

  • The flaw is in the Linux kernel’s NFS server (nfsd). A client can shrink the space where the server keeps a copy of its last reply to the minimum, and the server then writes past the end of that space. It can be reached remotely, before any login (the kernel fix and its description).
  • Only machines running an NFS server with NFSv4.1 or 4.2 are affected, and only when port 2049 can be reached from other machines (OpenSec). A Linux system that doesn’t run the NFS server is not exposed (Red Hat).
  • Fixed kernels are 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1 (OpenSec). Distributions vary, and when we checked, Ubuntu’s LTS releases had no fixed kernel yet.
  • That root can be taken is OpenSec’s own demonstration. The exploit is private, and we found no independent reproduction. That memory gets corrupted is documented in the kernel fix, with a report from a memory checker.
  • We found no reports of attacks in the wild. The flaw isn’t in CISA’s Known Exploited Vulnerabilities catalog (we checked the data published on November 27 directly).

What happened

Date (2026) Event Source
August 17 Jérémy Jean of France’s ANSSI writes the fix (the date in the kernel’s record) Kernel fix
September 21 to 22 OpenSec says its analysis tool flagged the bug, and that on September 22 it reported it, with an exploit and a patch, to the kernel developers OpenSec
October 4 The fix is merged into the main line of kernel development (the date in the kernel’s record) Kernel fix
November 19 CVE-2026-99362 is published Red Hat, Ubuntu
November 25 OpenSec publishes its write-up and a video as “NFS2ROOT” OpenSec
November 27 Red Hat releases fixed kernels for some products Red Hat

OpenSec’s article gives November 20 as the CVE publication date, while Red Hat and Ubuntu say November 19. We use the distributions’ date here.

OpenSec says the bug entered the kernel in 2014, in version 3.16. That’s where the “hidden for 12 years” headlines come from.

How the flaw works

In NFS version 4.1, the server keeps a copy of its last reply for every exchange with a client, so it can send the same answer again if the request is repeated. The client gets to choose how big that space is.

If the client sets the minimum, the space has zero size. According to the kernel fix’s description, a specially crafted request then makes the server write its entire reply into that zero-size space. The client controls most of what gets written (the kernel fix’s description).

The fix checks that the reply fits before the space is claimed.

How much of “root without authentication” is true

That a remote client can corrupt kernel memory without logging in is solid. The fix’s description includes a report from a memory checker (KASAN) catching the out-of-bounds write (the kernel fix’s description).

Going from there to root is the discoverer’s demonstration. OpenSec describes the steps: map the kernel’s memory layout, pick an object to free, and finally get the kernel to launch a shell. It also shows a video of the run. But the exploit isn’t public, and we found no independent reproduction.

Red Hat rates the flaw Critical but gives it its own score of 9.4, below cve.org’s 9.8. The difference is that Red Hat rates the impact on data integrity as Low rather than High. Its description says the flaw can cause a denial of service or, potentially, arbitrary code execution (Red Hat).

OpenSec also makes the analysis tool that found the flaw. Its account that the tool found the bug and built the exploit on its own is the company’s claim, and we couldn’t verify it. That the flaw exists, that fixes are out and that the CVE is published can all be confirmed in the kernel’s record and in the distributions’ pages.

Are you affected?

You are affected if all four of these are true (OpenSec):

  1. The kernel is older than a fixed version (6.12.117, 6.18.61, 7.3.2 or 7.4-rc1) and has no distribution fix backported
  2. The in-kernel NFS server (nfsd) is loaded
  3. NFS version 4.1 or 4.2 is enabled
  4. Port 2049 is listening on an address other than loopback

Log in to the server and run these. How to read the output follows OpenSec’s description.

uname -r
lsmod | grep -w nfsd
cat /proc/fs/nfsd/versions
ss -ltn 'sport = :2049'

If the second command prints nothing, the NFS server isn’t running. If the third shows “+4.1” or “+4.2”, an affected version is enabled. If the fourth shows an address other than the machine itself, other machines can reach it.

If your website sits on a rented server or a VPS and you haven’t set up an NFS server yourself, this flaw doesn’t apply to you. Red Hat says its default RHEL configuration doesn’t run nfsd (Red Hat).

The ones who need to check are companies with a file server, a NAS or a build server that shares files over Linux NFS. OpenSec also lists Kubernetes storage nodes as possible targets. On dedicated NAS appliances the kernel is managed by the manufacturer, so check whether the maker has published an update that mentions this flaw.

Where each distribution stands

This is what the vendors’ pages showed on November 27, 2026. They change from day to day.

Vendor Status Source
Upstream kernel Fixed in 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1 OpenSec
Debian Fixed in 6.1.192-3 for Debian 12 (bookworm) and 6.12.117-1 for Debian 13 (trixie), with a security update at 6.12.118-1. The linux-6.12 kernel for Debian 12 is also fixed, at 6.12.117-1~deb12u1 Debian security tracker
Ubuntu Priority Critical. 24.04, 22.04, 20.04 and others are listed as “Vulnerable” (no fix yet). 26.04 and 26.10 are in progress (page updated November 25) Ubuntu
Red Hat Critical. Extended Update Support releases such as RHEL 10.0 and 10.2 are fixed by advisories dated November 27. The RHEL 9 kernel was listed as affected, with no fix yet, when we checked Red Hat

Open the page of the vendor you use and check it yourself. Most Ubuntu LTS releases were still “Vulnerable”. Until a fixed kernel ships, the measures below are the practical defense.

What to do now

If you run an NFS server, work through these in order.

  1. If a fixed kernel is available, update and reboot. A kernel update doesn’t take effect until the machine restarts
  2. If there is no fixed kernel yet, limit port 2049 to the machines that need it. OpenSec gives an nftables rule like the one below (replace 10.20.0.0/16 with your own network)
nft add rule inet filter input tcp dport 2049 ip saddr != 10.20.0.0/16 drop
  1. On the RHEL family with firewalld, Red Hat gives steps to remove the nfs service and allow only trusted machines (Red Hat)
  2. If you don’t need NFS sharing at all, stop and disable the service (Red Hat’s commands are systemctl stop nfs-server and systemctl disable nfs-server). Stopping it cuts off work on the machines connected right now
  3. OpenSec also shows how to turn off NFS versions 4.1 and 4.2 in /etc/nfs.conf. That also disables features such as pNFS
  4. Check from the outside that port 2049 isn’t open to the internet. There’s almost never a reason to expose NFS directly to the internet

If you’re worried that someone may already have got in, OpenSec lists the following traces. It says the attack looks like valid NFS traffic, so it is hard to spot from the network alone.

  • Kernel warnings from nfsd4_check_resp_size in nfsd
  • Crash records involving nfsd
  • Shells launched by kernel processes on a file server
  • A run of short NFS sessions from the same source

What not to do

  • Don’t wave it off with “we only use NFS inside the office” without checking. If someone gets onto the internal network, this is a foothold
  • Don’t update and skip the reboot
  • Don’t assume that because you run a Red Hat–family system nfsd isn’t running. Check the machines where you installed it
  • Don’t try exploit code found online on production systems

What’s still unconfirmed

  • Whether anyone besides the discoverer has reproduced the root takeover. We found no confirmation
  • Whether there are reports of attacks in the wild. We found none, and the flaw isn’t in CISA’s KEV catalog
  • Whether exploit code was circulating before fixes shipped. OpenSec says its exploit is private
  • Whether specific NAS appliances are affected. We didn’t check each product, so look at the manufacturer’s notices
  • When Red Hat will ship fixes for RHEL 8 and 9. They weren’t out on the pages we saw on November 27
  • OpenSec’s account that its analysis tool found the bug and built the exploit automatically. That is the company’s claim, and we couldn’t verify it

If you need help working out whether your file servers or NAS are affected, updating kernels or checking for a compromise, get in touch.

Free security consultations

We are currently taking free consultations on security. Questions like "Is our site safe?" or "Where should we start checking?" are welcome.

Super Sonic Design accepts consultations on website creation, application design, etc. Please feel free to contact us.
inquiring
Other latest articles
Categories