Security AffairsPierluigi Paganini
NFS2ROOT Linux flaw lets attackers gain remote root access
Part of the CVE-2026-99362 story · since 29 Nov
- Sun 29 Nov, 11:00 UTC. Security Affairs, first report. NFS2ROOT Linux flaw lets attackers gain remote root access. This article, 1st of 2.
- Sun 29 Nov, 11:07 UTC. cybersixt, its first report on the story. NFS2ROOT (CVE-2026-99362): Linux NFS flaw gives remote root.
A 12-year-old Linux kernel flaw in the NFS server (nfsd) has been disclosed as CVE-2026-99362, dubbed NFS2ROOT. OpenSec demonstrated that unauthenticated attackers can achieve root remotely by targeting NFSv4.1 or 4.2 paths on servers running an in-kernel NFS server with port 2049 accessible. The vulnerability dates back to March 2014 and first appeared in Linux kernel 3.16, persisting in later kernels used by distributions and storage appliances.
OpenSec’s test showed the attacker can manipulate the NFS reply cache size to zero, triggering a heap overflow that copies an 80‑byte reply into an undersized buffer, writing beyond allocation and enabling a root-level code execution when the connection closes. The Linux kernel then executes the injected command with root privileges.
ANSSI’s Jérémy Jean identified the flaw and helped submit a patch on 17 August 2026; Linux maintainers Chuck Lever and Jeff Layton oversee the NFS server project, with fixes committed as 5d5a72e965c8 and 241848cc774e. OpenSec independently flagged and demonstrated the exploit, providing a full patch and notification to maintainers and the Linux security team on 2026‑11‑20.
Vendors have issued or prepared backports and advisories, and users are advised to apply updates corresponding to CVE‑2026‑99362 and reboot. High‑risk systems include file servers, storage devices, build systems and Kubernetes storage nodes that expose TCP port 2049, though attack traffic can originate from within a trusted network. OpenSec notes there have been no reported attacks in the wild at the time of disclosure.
In the interim, systems should restrict port 2049 access to trusted networks, consider disabling NFSv4.1 and 4.2, and monitor for nfsd‑related anomalies such as nfsd4_check_resp_size warnings and unusual nfsd or call_usermodehelper activity. UK commands are provided to verify exposure and configuration.
How the story developed
2 articles from 2 outlets since 29 Nov. Still developing; the latest report was 16 hours ago. This was the first report.
- Sun 29 Nov, 11:00 UTC. Security Affairs, first report. NFS2ROOT Linux flaw lets attackers gain remote root access. This article, 1st of 2.
- Sun 29 Nov, 11:07 UTC. cybersixt, its first report on the story. NFS2ROOT (CVE-2026-99362): Linux NFS flaw gives remote root.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
Show all 2 articles as a listHide the list
- Sun 29 NovDay 02
- NFS2ROOT Linux flaw lets attackers gain remote root access11:00 · Security Affairs · First report · This article, 1st of 2
- NFS2ROOT (CVE-2026-99362): Linux NFS flaw gives remote root11:07 · cybersixt