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.
| 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.
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.
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.
You are affected if all four of these are true (OpenSec):
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.
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.
If you run an NFS server, work through these in order.
nft add rule inet filter input tcp dport 2049 ip saddr != 10.20.0.0/16 drop
systemctl stop nfs-server and systemctl disable nfs-server). Stopping it cuts off work on the machines connected right nowIf 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.
nfsd4_check_resp_size in nfsdIf you need help working out whether your file servers or NAS are affected, updating kernels or checking for a compromise, get in touch.
We are currently taking free consultations on security. Questions like "Is our site safe?" or "Where should we start checking?" are welcome.
