JupiteX Get the app
Science & Technology27 Nov 2026 · about 7 min

New NFS2ROOT Linux flaw can let attackers gain root privileges

The brief

NFS2ROOT is the name cybersecurity firm OpenSec gave to a critical vulnerability in the Linux kernel’s Network File System server, called nfsd. The flaw is tracked as CVE-2026-99362. It matters because an attacker can exploit it remotely, without first having an account or needing a user to take action, and gain root privileges. The bug is a heap buffer overflow: a crafted request can make nfsd write beyond an allocated memory buffer. That can let an attacker read kernel memory, bypass KASLR, and place a callback in released memory. When the NFS connection closes, the kernel can run the embedded command with root privileges. The flaw has existed since Linux kernel version 3.16, released in March 2014. The article says affected systems need nfsd versions 4.1 or 4.2 loaded and running, with TCP port 2049 reachable over the Internet. OpenSec shared an exploit and patch with NFSD maintainers; administrators should install vendor updates and reboot.

01

What is NFS2ROOT, and what part of Linux does it exploit?

NFS2ROOT is the name cybersecurity firm OpenSec gave to a critical vulnerability in the Linux kernel’s Network File System server, called nfsd. The flaw is tracked as CVE-2026-99362. It matters because an attacker can exploit it remotely, without first having an account or needing a user to take action, and gain root privileges.

The bug is a heap buffer overflow: a crafted request can make nfsd write beyond an allocated memory buffer. That can let an attacker read kernel memory, bypass KASLR, and place a callback in released memory. When the NFS connection closes, the kernel can run the embedded command with root privileges.

The flaw has existed since Linux kernel version 3.16, released in March 2014. The article says affected systems need nfsd versions 4.1 or 4.2 loaded and running, with TCP port 2049 reachable over the Internet. OpenSec shared an exploit and patch with NFSD maintainers; administrators should install vendor updates and reboot.

02

Which Linux systems are vulnerable, and what must be true for an attacker to reach them?

NFS2ROOT affects Linux systems running a kernel older than 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1, according to the article. Those version cutoffs identify kernels that need an update. The vulnerability is in the kernel’s NFS server, nfsd, rather than being described as a flaw in every Linux service.

For an attacker to reach the vulnerable service, nfsd must be loaded and running with NFS version 4.1 or 4.2. The server must also have TCP port 2049 reachable over the Internet. For example, a vulnerable file server with that port exposed could receive maliciously crafted NFS requests from an unprivileged remote attacker.

The article describes attacks as low complexity and says they require no user interaction. It reports no known exploitation in the wild, but advises applying the latest kernel security updates from the Linux distribution vendor and rebooting. If patching must wait, administrators can restrict port 2049 to trusted clients or networks, or disable the service if NFS is not needed.

03

How can a crafted NFS request turn a memory overflow into remote root access?

NFS2ROOT starts when an attacker sends a maliciously crafted request to a vulnerable Linux NFS server. The request causes nfsd to write data beyond an allocated memory buffer, creating a heap buffer overflow. This is serious because the attacker does not need existing privileges or user interaction to begin the attack.

The overflow can first let the attacker read kernel memory and bypass KASLR, a protection that hides kernel memory addresses. The attacker can then place a callback in a memory area that has been released. When the NFS connection closes, the kernel executes the command embedded in that callback with root privileges.

That sequence turns a network request into remote root access on an exposed, unpatched server. The article says attacks are low complexity, but reports no exploitation in the wild. Applying the distribution’s latest kernel security updates and rebooting blocks the vulnerability; restricting port 2049 to trusted networks is a temporary measure if a patch cannot be installed immediately.

04

What could an attacker do after gaining root access to a Linux server?

Root access gives an attacker control of the vulnerable Linux server at the system’s highest privilege level. In this case, the article specifically says successful exploitation lets remote threat actors gain root access and control of the unpatched server. That makes the flaw more serious than one that only exposes a limited account or service.

The described attack ends with the kernel executing a command embedded by the attacker. The attacker places a callback in a released memory area after exploiting the buffer overflow. When the NFS connection closes, that callback runs with root privileges. The article does not list particular follow-on actions, so the concrete consequence it establishes is root control and command execution.

The risk applies when a vulnerable kernel runs nfsd with NFS version 4.1 or 4.2 and TCP port 2049 is reachable over the Internet. No in-the-wild exploitation has been reported. Administrators are urged to install their Linux vendor’s latest kernel security updates and reboot so the patched kernel is active.

05

How long has this flaw been present in the Linux kernel?

NFS2ROOT has been present in the Linux kernel since version 3.16, which was released in March 2014. The article describes the vulnerability as 12 years old. That long history is striking because the bug affects the kernel’s NFS server and can let a remote attacker reach root privileges on an exposed, vulnerable system.

The underlying issue is a heap buffer overflow in nfsd. A crafted request can make the server write beyond its allocated memory buffer. The attack can then read kernel memory, bypass KASLR, and arrange for a command to execute with root privileges when the NFS connection closes. The weakness is not removed simply by kernel hardening, OpenSec said.

The article identifies fixed-version thresholds as 6.12.117, 6.18.61, 7.3.2, and 7.4-rc1. It reports no known exploitation in the wild, but recommends installing the latest kernel security updates from the Linux distribution vendor and rebooting. If immediate patching is not possible, administrators should limit access to port 2049.

06

If an administrator cannot patch immediately, how can they reduce the server’s exposure?

The safest step is to install the latest kernel security updates from the Linux distribution vendor and reboot. But if an administrator cannot patch immediately, the article recommends reducing access to the vulnerable NFS server. Specifically, restrict TCP port 2049 to trusted clients or networks rather than leaving it reachable to untrusted sources.

For example, a server that needs to share files with only a known set of clients can limit port 2049 access to those clients or their networks. If the system does not need NFS sharing at all, administrators can stop and disable the nfs-server service in /etc/nfs.conf. These steps reduce exposure; they are not a substitute for installing the security patch.

The concern is that attackers can send crafted requests to a vulnerable nfsd service and gain root access without user interaction. The article says there are no reports of exploitation in the wild, but advises teams to act promptly. After installing a patch, reboot so the system is using the patched kernel.

07

What is NFS, and why do computers use it to share files over a network?

NFS stands for Network File System. In general computing, it is a way for computers to share files over a network, so a system can access files hosted by another system. This general explanation uses established background knowledge; the article itself names NFS but does not explain how file sharing works.

The article focuses on the Linux NFS server, nfsd, and a vulnerability in its handling of certain requests. The affected service must be running NFS version 4.1 or 4.2 for the described risk to apply. An attacker can send a crafted request that causes a heap buffer overflow in the server.

That overflow can ultimately let an attacker gain root access to an exposed Linux server. The service commonly listens on TCP port 2049, which the article says must be reachable over the Internet for this attack condition. Administrators should patch and reboot, or temporarily restrict access to trusted clients if immediate patching is not possible.

This brief was written by AI from the original reporting and checked by other models. Names, figures and quotes come from the source; read it for full context.

Read more in the JupiteX app

Pulse is free. New stories every 4 hours, each one broken into the questions that explain it.

Or read more news on the web