Skip to content
Brief Security & Trust ·

Linux NFS server flaw lets attackers take root without logging in

Orca Security says a 12-year-old bug in the kernel's NFS server scores 9.8 out of 10 in severity.

In brief
  • Orca Security says CVE-2026-99362 lets an attacker get root on Linux NFS servers without logging in. ANSSI and OpenSec Intelligence found it independently.
  • Orca reports no public exploit code and no confirmed attacks so far. It advises firewalling port 2049 or turning off NFSv4.1 and 4.2 until patched.

Orca Security reported on 30 November a critical flaw, CVE-2026-99362, in the Linux kernel's built-in NFS server, which shares files over a network. It scores 9.8 out of 10. ANSSI, France's cyber agency, and OpenSec Intelligence found it independently. Orca says an attacker can reach TCP port 2049 and get a root shell without logging in.

Orca says the server mishandles memory set aside for cached replies to a step in the NFSv4.1 handshake. A crafted request makes it write about 61 bytes past the end of an empty buffer. Much of it is attacker-controlled, so this can become code execution. No login, file handle or mount is needed. Orca says no exploit code is public and no attacks are confirmed. Fixes vary: Debian has some, and Ubuntu 24.04 and 22.04 are in progress.

NFSv4.1 and 4.2 are on by default wherever the NFS server runs, and the flaw works even with nothing shared. That makes this an inventory problem more than a patching one: first find every host running nfsd. Orca names Kubernetes storage and CI builds as places NFS runs. Until patched, Orca advises firewalling port 2049 to trusted clients, turning off v4.1 and v4.2 in /etc/nfs.conf, or stopping nfs-server if unneeded. Orca sells security tools; this is its own account.

A WebPulse Brief: a short report of an important event, written by the WebPulse Newsroom with AI assistance and checked against the reporting below. When there is more to explain, we follow up with a full story. How we use AI.

Reporting: Orca Security.