NFS2ROOT: a 12-year-old Linux file-sharing bug can hand strangers full control of servers

A flaw in Linux's built-in NFS file server lets anyone who can reach it take over the machine without a password. It's urgent for server admins; ordinary phones and PCs aren't the target.

TL;DR
  • A bug in the Linux kernel's NFS server, nicknamed NFS2ROOT (CVE-2026-99362), lets an attacker who can reach it take full control with no password1,2.
  • Only machines actually running that file server with NFS version 4.1 or 4.2, reachable on network port 2049, are at risk2,3.
  • Fixed kernels exist; admins should update and reboot, or block port 2049 for now. No attacks have been reported yet2,3.
  • Windows PCs, Macs and iPhones aren't affected; most people have nothing to do.

Should you care?

2/5 Server admins: patch now. Others: relax

How hot right now

Hot

BleepingComputer, SC World, Techzine and many security sites covered it after OpenSec's Nov 25 write-up

Fire meter checked Nov 29, 2026

Hype check

The buzz4/5
The reality3/5

'Remote root in the Linux kernel' sounds like every Linux device on Earth is open. It isn't: the bug is in one optional feature, a file server most machines never switch on. For the servers that do run it and are reachable, though, it is as bad as it sounds.

We'll check back on Feb 25, 2027: did it live up to the hype?

Who is this for?

  • ✓Admins of Linux servers that share files over NFSFor youIf nfsd serves NFSv4.1 or 4.2 and port 2049 is reachable, you're exposed to a no-password takeover2,3: update the kernel and reboot.
  • ~Home-lab and self-hosting fansMaybeIf you set up NFS shares on a Linux box or a storage device, check its kernel and keep port 2049 off the internet2.
  • ~Ubuntu LTS usersMaybeUbuntu lists its LTS kernels as still vulnerable1, but that only matters if you've installed and turned on the NFS server.
  • ✕Windows, Mac and iPhone usersSkip itThe bug is in Linux's own NFS server code1,2, which those systems don't run.
  • ✕Android and Chromebook ownersSkip itGoogle hasn't said anything about this bug; there's nothing to install or change beyond your normal updates.

You're in Normie territory · 2 min

The whole story in plain English

A hole in a Linux file-sharing feature, and who needs to care

A long-hidden bug in Linux's built-in NFSJargon busterNetwork File System, a long-standing way for computers to share folders with each other over a network. file server lets attackers take over machines that run it, without a password. Server admins should update now; most people have nothing to do.

Linux is the free operating system behind many of the servers that run websites, apps and company networks. One of the things it can do is share folders with other computers over a network, using a system called NFSJargon busterNetwork File System, a long-standing way for computers to share folders with each other over a network. (Network File System). Think of it as a shared office filing cabinet that other computers can open from across the building.

Researchers have found that the part of Linux that runs this filing cabinet has a serious mistake in it, one that has been there since 20142,3. Someone who can reach the cabinet over the network can send it a specially shaped request and end up with full control of the whole machine, as "rootJargon busterThe all-powerful administrator account on Linux; whoever has it controls the whole machine.", the all-powerful administrator account. They don't need a password or anyone to click anything2,4,5. The researchers nicknamed it NFS2ROOT; its official ID is CVE-2026-993621,2.

Who is at risk

Only computers that have this NFS server switched on, using its newer versions (4.1 or 4.2), and that other machines can reach on network portJargon busterA numbered doorway on a computer for one kind of network traffic; NFS uses port 2049. 20492,3. Red Hat says its standard installs don't run the NFS server6. That means this is mostly a problem for company servers and storage systems, not for the computer on your desk.

Windows PCs, Macs and iPhones don't use Linux's NFS server at all. Android phones and Chromebooks run on Linux underneath, but Google hasn't said anything about this bug, and there's nothing for you to do beyond your usual updates.

What's being done

Fixed versions of Linux are out2, and the big Linux distributions are rolling them into their updates1. Nobody has reported attackers using it yet, and the researchers have kept their attack code private2,3.

What to do

If you look after Linux servers that share files over NFS, install the updated kernel and restart the machine. Until you can, block port 2049 from anything you don't trust, or turn the NFS server off if you don't need it2,6. Everyone else: no action needed.

What should you do?

0/4 done
Know someone who should hear about this?Send them the short, jargon-free version.

That's the basics. Got what you came for? You can stop here, or keep going.

Entering Enthusiast territory · 2 min

Context, comparisons and trade-offs

Who found it, how bad it is, and where patches stand

Two teams found the bug independently. It's rated 9.8 out of 10, fixed upstream, but distro patches are uneven, with Ubuntu's LTS kernels still listed as vulnerable.

Two finders, one bug

OpenSec's name is on the headlines, but it wasn't the only finder. A researcher at ANSSIJargon busterFrance's national cybersecurity agency., France's national cybersecurity agency, Jérémy Jean, found the flaw independently and sent a fix, with a KASANJargon busterA Linux debugging tool that catches memory mistakes, like writing past the end of a buffer. crash report, to the Linux developers on August 172,3,13. OpenSec, a security firm, found it too, gave it the NFS2ROOT name, and on September 22 sent the NFSJargon busterNetwork File System, a long-standing way for computers to share folders with each other over a network. maintainers and the kernel security team a working remote-root exploit along with its own patch2,3. The public write-up followed this week3.

How serious

Ubuntu rates it Critical, 9.8 out of 10 on the CVSSJargon busterA 0-to-10 scale for how severe a security flaw is; 9.8 is near the top. scale1, and OpenSec gives the same score3. That number reflects the worst case: no login, no user action, attack over the network1,2. What keeps it from being an internet-wide emergency is that the NFS server is opt-in. Admins have to install it and export folders before there's anything to attack.

The exposure that matters most is portJargon busterA numbered doorway on a computer for one kind of network traffic; NFS uses port 2049. 2049 reachable from the open internet. In our view, a well-run server should already keep that port behind a firewall. Inside a company network, though, an attacker who already has a foothold on any machine could use this to jump to the file server.

Where patches stand

The fix is in the upstream stable kernels 6.12.117, 6.18.61 and 7.3.2, and in 7.4-rc12. Distributions are a different matter. As of Ubuntu's Nov 25 update, its LTS releases from 16.04 to 24.04 were still listed as vulnerable, with fixes for 26.04 LTS and 26.10 in progress1. A kernel update also only protects you after a reboot, since the old kernel keeps running until then.

Not the first this year

BleepingComputer counts NFS2ROOT as the latest in a run of 2026 Linux rootJargon busterThe all-powerful administrator account on Linux; whoever has it controls the whole machine. bugs, alongside RefluXFS, CIFSwitch and Dirty Frag2. What makes NFS2ROOT stand out in our eyes is that it works over the network, with no account on the machine2.

By the numbers

9.8Severity out of 101
2014Year the bug crept in2,3
2049The network port to lock down2
0Attacks reported so far2,3

How we got here

  1. 2014The bug arrives with Linux kernel 3.162,3
  2. Aug 17, 2026ANSSI's Jérémy Jean sends a fix and KASAN report upstream3,13
  3. Sep 21, 2026OpenSec's Antara research system independently flags the bug13
  4. Sep 22, 2026OpenSec reports it to the NFS maintainers and kernel security team with an exploit and patch3
  5. Sep 25, 2026The kernel's CVE team reserves CVE-2026-9936214
  6. Nov 19, 2026CVE-2026-99362 published1
  7. Nov 25, 2026OpenSec publishes its NFS2ROOT write-up3

That's the bigger picture. Got what you came for? You can stop here, or keep going.

Entering Nerd territory · 3 min

Specs, inner workings and caveats

A SEQUENCE reply written into a zero-length slot

nfsdJargon busterThe NFS server built into the Linux kernel, the part that hands out shared folders to other machines. narrowed the reply buffer to the session's negotiated cache limit before checking the SEQUENCE result fit, so a crafted COMPOUND writes past a slab object.

Quick reference

CVEJargon busterA public ID number given to a security flaw so everyone can refer to the same bug.CVE-2026-99362 ("NFS2ROOT")1,2
ComponentnfsdJargon busterThe NFS server built into the Linux kernel, the part that hands out shared folders to other machines., NFSv4.1+ session SEQUENCE handling1,3
ClassHeap (slab) out-of-bounds write, pre-auth1,2
IntroducedCommit 47ee529864723, kernel 3.16 (2014)2
Fixed upstream6.12.117, 6.18.61, 7.3.2, 7.4-rc12; older stable 5.10.275, 5.15.226, 6.1.193, 6.6.1637
SeverityCVSSJargon busterA 0-to-10 scale for how severe a security flaw is; 9.8 is near the top. 3 9.8, Ubuntu priority Critical1
PublishedNov 19, 2026 (Ubuntu's record)1
ExploitationNone reported in the wild; exploit private2,3

Root cause

In NFSv4.1 sessions, each slot keeps a cached copy of its last reply so retransmissions can be answered without re-executing operations. Ubuntu's description of the bug1: when processing a SEQUENCE operation, nfsd shrank the reply buffer to the session's cached-reply limit before it had accepted the slot's sequence ID. A client can negotiate that limit so low that a slot has effectively no room. A crafted COMPOUND then fills the buffer right up to the SEQUENCE opcode without leaving space for the status word that follows. The server treats that as success and caches the whole reply, headers included, into the zero-length slot, which KASANJargon busterA Linux debugging tool that catches memory mistakes, like writing past the end of a buffer. reports as a slab-out-of-bounds write1. OpenSec puts the overflow at 61 bytes past the heap object3.

From overflow to root

Per BleepingComputer's summary of OpenSec's chain, the attacker can leak kernel memory to defeat KASLRJargon busterA defence that puts the kernel at a random spot in memory so attackers can't predict where things are., then plant a callback that runs a command as rootJargon busterThe all-powerful administrator account on Linux; whoever has it controls the whole machine. when the NFSJargon busterNetwork File System, a long-standing way for computers to share folders with each other over a network. connection closes2. OpenSec says standard kernel hardening doesn't stop it3. The chain is private, so nobody outside OpenSec has reproduced it publicly.

The fix

The patch preflights the SEQUENCE reply: before narrowing the buffer or consuming the slot's sequence ID, nfsd now checks that the SEQUENCE result plus room for the next operation's error status fit within the negotiated limit. If they don't, the slot and its reply cache are left untouched, as RFC 8881 requires1.

Triage notes

  • Exposure needs nfsd running with v4.1 or v4.2 enabled and tcp/2049 reachable2,3. Clients (mounting someone else's share) aren't the vulnerable side; the bug is in the server.
  • Interim mitigations: firewall tcp/2049 to trusted clients, or stop nfs-server where it isn't needed2,6.
  • Check your vendor kernel's changelog for the CVE rather than comparing version numbers: distros backportJargon busterCopying a fix into an older version of software, so its version number may look old even though it's patched. fixes into older version strings.
  • Ubuntu also lists many derivative kernels (AWS, Azure, GCP, Oracle, Raspberry Pi, FIPS) as vulnerable1.
  • Older stable branches are fixed too: 5.10.275, 5.15.226, 6.1.193 and 6.6.1637.
  • Debian lists trixie fixed in linux 6.12.117-1, bookworm's 6.1 kernel in 6.1.192-3 (DLA-4942-1) and bookworm's optional 6.12 kernel in 6.12.117-1~deb12u1 (DLA-4927-1)8.
  • On the RHEL 8 family, RHSA-2026:103817 and the matching AlmaLinux, Rocky Linux and Oracle Linux advisories ship kernel-4.18.0-553.190.1.el8_10 with the fix9,10,11,12.
  • Open question: whether NAS appliances, routers or Android builds ship nfsd v4.1 enabled. No vendor had said when we checked.
Tech specs, made easy

The facts

Hover or tap anything underlined to see what it means.

CVE
CVE-2026-993621
Nickname
NFS2ROOT (OpenSec)2,3
Where
Linux kernelJargon busterThe core of the Linux operating system, the part that talks directly to the hardware and runs everything else. NFSJargon busterNetwork File System, a long-standing way for computers to share folders with each other over a network. server (nfsdJargon busterThe NFS server built into the Linux kernel, the part that hands out shared folders to other machines.)1,2
Needs
NFSv4.1 or 4.2 enabled, TCP portJargon busterA numbered doorway on a computer for one kind of network traffic; NFS uses port 2049. 2049 reachable2,3
Login needed
None2,4
Severity
CVSSJargon busterA 0-to-10 scale for how severe a security flaw is; 9.8 is near the top. 9.8, Critical1,3
Bug since
Kernel 3.16, 20142,3
Fixed in
6.12.117, 6.18.61, 7.3.2, 7.4-rc12; also 5.10.275, 5.15.226, 6.1.193, 6.6.1637
Ubuntu LTS
16.04–24.04 still listed vulnerable (Nov 25)1
Found by
Jérémy Jean (ANSSIJargon busterFrance's national cybersecurity agency.); OpenSec independently2,3
Attacks seen
None reported2,3
Exploit code
Private (OpenSec)2,3
NRMNRD/SECURITYLINUX-NFS-SERVER-N

Jargon buster

Linux kernel
The core of the Linux operating system, the part that talks directly to the hardware and runs everything else.
NFS
Network File System, a long-standing way for computers to share folders with each other over a network.
nfsd
The NFS server built into the Linux kernel, the part that hands out shared folders to other machines1.
root
The all-powerful administrator account on Linux; whoever has it controls the whole machine.
port
A numbered doorway on a computer for one kind of network traffic; NFS uses port 20492.
CVE
A public ID number given to a security flaw so everyone can refer to the same bug.
CVSS
A 0-to-10 scale for how severe a security flaw is; 9.8 is near the top.
heap overflow
When a program writes more data than a reserved chunk of memory can hold, spilling into neighbouring memory.
KASLR
A defence that puts the kernel at a random spot in memory so attackers can't predict where things are.
KASAN
A Linux debugging tool that catches memory mistakes, like writing past the end of a buffer.
ANSSI
France's national cybersecurity agency.
backport
Copying a fix into an older version of software, so its version number may look old even though it's patched.
Sources14 pages · Ubuntu Security, BleepingComputer, OpenSec and moreShowHide

The small numbers in the text point to these pages. Everything is written in our own words. How we work · Spotted a mistake? Tell us

  1. 1CVE-2026-99362 · Ubuntu Security
  2. 2New NFS2ROOT Linux flaw can let attackers gain root privileges · BleepingComputer
  3. 3NFS2ROOT (CVE-2026-99362): pre-auth root in Linux nfsd · OpenSec
  4. 4Critical Linux kernel vulnerability allows remote root access · SC World
  5. 5Old vulnerability in Linux kernel grants attackers root privileges · Techzine
  6. 6CVE-2026-99362 · Red Hat Customer Portal
  7. 7CVE-2026-99362 · CVE.org
  8. 8CVE-2026-99362 · Debian Security Tracker
  9. 9RHSA-2026:103817 · Red Hat Customer Portal
  10. 10AlmaLinux 8 kernel update (ALSA-2026:103817) · LinuxSecurity
  11. 11Rocky Linux kernel update (RLSA-2026:103817) · LinuxSecurity
  12. 12ELSA-2026-103817 · Vulners
  13. 13CVE-2026-99362 timeline · Mallory
  14. 14CVE-2026-99362 · OpenCVE
#linux#nfs#kernel#vulnerability#servers#nfs2root

Read next