Linux NFS server heap overflow allows remote root (CVE-2026-99362)
Original title: 12-Year-Old NFS2ROOT Linux Flaw Let Hackers Take Full Control of Servers Without a Password
OpenSec's private test got root on unpatched NFSv4.1/4.2 via TCP 2049; fixes include kernels 5.10.275 through 7.4-rc1.
A Linux kernel NFS server flaw, CVE-2026-99362 and dubbed NFS2ROOT, can let a remote attacker run commands as root without logging in when NFSv4.1 or NFSv4.2 is enabled and TCP port 2049 is reachable. The bug is a heap overflow in the session reply cache; affected code dates to Linux 3.16. OpenSec Intelligence scored it 9.8 and showed a private lab demo. ANSSI's Jérémy Jean submitted an upstream fix in August 2026; the CVE was published November 19.
Unconfirmed: OpenSec's video shows a lab root shell only; it does not establish real-world attacks, and the exploit stays private.
- Fixed upstream versions include 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, and 7.4-rc1.
- NFS clients that only mount remote shares are not exposed by this server bug.
- Check /proc/fs/nfsd/versions for +4.1 or +4.2 and whether TCP 2049 is listening.
- OpenSec's Antara tool found the flaw independently; kernel staff were notified in September.
- Detection leads include nfsd4_check_resp_size warnings and unexpected kernel-worker shells.
Impact: Unauthenticated remote root on the NFS server
| Product | Affected | Fixed in |
|---|---|---|
| Linux kernel NFS server (nfsd) | NFSv4.1 or NFSv4.2 since Linux 3.16 | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 |
- 1.Install the vendor fix for CVE-2026-99362 or a listed fixed kernel, then reboot.
- 2.Until patched, restrict TCP port 2049 and disable NFSv4.1 and NFSv4.2 if workloads allow.
- 3.Review nfsd4_check_resp_size warnings, short NFSv4.1 session bursts, and unexpected root commands.
- CVEs
- CVE-2026-99362
- Vendors
- Linux
- Products
- Linux kernelnfsd
- Organizations
- OpenSec IntelligenceANSSI
- Countries
- France
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-99362 | Slab out-of-bounds write in Linux kernel nfsd SEQUENCE cache | 9.8 | <1% | PoC ×2 |
From the original article
3 min read at cybersecuritynews.com
A critical Linux kernel flaw called NFS2ROOT could let an attacker take full control of an unpatched Network File System (NFS) server without logging in. The vulnerability, tracked as CVE-2026-99362, affects the Linux kernel’s NFS server when NFSv4. 1 or NFSv4.
By Guru Baran · cybersecuritynews.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.