All cyber news

2026-11-27 · Vulnerability / unauthenticated remote root · BleepingComputer (OpenSec / ANSSI)

NFS2ROOT: critical Linux NFS flaw gives remote root access

OpenSec disclosed NFS2ROOT (CVE-2026-99362) on 27 November 2026, a critical heap buffer overflow in the Linux kernel's NFS server (nfsd) that lets an unauthenticated remote attacker gain root on an exposed server. The bug was found by ANSSI's Jérémy Jean, who submitted a fix in August 2026; OpenSec shared a working remote-root exploit with the NFSD maintainers in late September. There are no confirmed reports of in-the-wild exploitation, but the exploit details are public and unpatched hosts are directly reachable.

What happened

The flaw has existed since Linux 3.16 (March 2014) and affects nfsd when NFSv4.1 or 4.2 is running and TCP port 2049 is reachable. A crafted request makes nfsd write past an allocated buffer, letting the attacker read kernel memory, bypass KASLR and place a callback that executes with root privileges when the NFS connection closes. Patched kernels are 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1 or later. OpenSec notes the flaw sits on file servers, NAS appliances, build farms and Kubernetes storage nodes, and that kernel hardening alone does not remove the overflow — the kernel must be patched and the host rebooted.

Three practical actions

  • Inventory every host running nfsd and expose TCP port 2049 only to trusted clients or networks. Disable and stop the nfs-server service where NFS sharing is not needed; treat build farms, NAS appliances and Kubernetes storage nodes as priority assets.
  • Patch to a fixed kernel from your distribution vendor and reboot to confirm the new kernel is running. Where patching must wait, block port 2049 at the network boundary and on host firewalls as an interim control.
  • Hunt for exploitation using OpenSec's guidance: kernel warnings from nfsd4_check_resp_size, shells spawned by kernel workers on file servers, bursts of short NFSv4.1 sessions from one source, and kernel oopses with nfsd4_*, svc_* or call_usermodehelper* frames. Forward these signals to the SOC with alerting and retained logs.

Our managed SOC, server-hardening and incident-response team can inventory NFS exposure, verify kernel patch levels, build detections for nfsd abuse and rehearse a host-compromise response. Talk to us.

Primary reporting: BleepingComputer — New NFS2ROOT Linux flaw can let attackers gain root privileges (27 November 2026), citing OpenSec and ANSSI.

Need help with this threat?

Our SOC and incident-response team can assess your exposure and build detections.

Talk to an expert
Primary source