NFS2ROOT: Linux NFS Server Vulnerability (CVE-2026-99362) Enables Remote Root Privilege Escalation
Executive Summary
A 12‑year‑old heap buffer overflow in the Linux NFS server (CVE‑2026‑99362) allows remote attackers to gain root privileges on vulnerable kernels older than 6.12.117, 6.18.61, 7.3.2, or 7.4‑rc1 when nfsd v4.1/v4.2 is active and TCP port 2049 is reachable. The flaw was discovered by ANSSI’s Jérémy Jean, patched in August, and a full remote‑root exploit was released by OpenSec in September. No wild exploitation has been reported, but security teams are advised to apply the latest kernel updates, reboot, and, if immediate patching is not possible, restrict or disable NFS access. OpenSec also recommends monitoring kernel warnings such as nfsd4_check_resp_size and kernel oopses for signs of exploitation attempts.
Original Overview
A 12-year-old critical vulnerability in the Linux kernel's Network File System (NFS) server, tracked as CVE-2026-99362, allows remote attackers to gain root privileges. Found by ANSSI's Jérémy Jean (who submitted a fix in August ), the flaw has been dubbed NFS2ROOT by cybersecurity firm OpenSec, which shared a full remote-root exploit and a patch with the NFSD maintainers in late September. The vulnerability has existed since Linux kernel version 3.16 ( released in March 2014 ), and it stems from a heap buffer overflow weakness in the Linux NFS server (nfsd). NFS2ROOT affects systems with a Linux kernel older than 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1 if nfsd (v4.1 or 4.2) is loaded and running and TCP port 2049 is reachable over the Internet. Successful exploitation lets remote threat...