Critical 12-Year-Old Linux NFS Bug Allows Remote Root Access
A vulnerability in the Linux kernel's Network File System (NFS) server, dubbed NFS2ROOT, has resurfaced with a CVSS rating of 9.8, giving unauthenticated attackers the ability to obtain root privileges on any exposed NFS service.
The flaw, catalogued as CVE-2026-99362, was originally disclosed by Security Affairs. It exploits a long‑standing weakness in the way the kernel processes NFS requests, allowing a remote adversary to craft a malicious packet that bypasses authentication checks and escalates to full system control.
Although the bug was introduced over a decade ago, it has lingered in many distributions because NFS is often deployed in trusted, internal networks where the perceived risk is low. Over time, however, the expansion of cloud‑based workloads and the practice of exposing NFS shares to external clients have widened the attack surface, turning an old oversight into a modern‑day emergency.
Systems running unpatched kernels are particularly vulnerable. Any server that advertises an NFS share without additional hardening measures could be compromised without needing valid credentials. The impact is severe: attackers who gain root can install backdoors, exfiltrate data, or pivot to other machines on the network, potentially compromising entire infrastructures.
Linux maintainers have responded by issuing patches that close the request‑handling loophole and by recommending administrators disable NFS services that are not essential. Security experts also advise the use of firewalls to restrict NFS traffic to known hosts, enable Kerberos authentication where possible, and regularly audit kernel versions. Organizations that rely on NFS for storage should prioritize updating to the latest kernel releases and verify that their configurations do not expose the service to the public internet.
Comments (0)
Be the first to comment.
Join the discussion