Today's cybersecurity headlines are brought to you by ThreatPerspective


Ethical Hacking News

The Forgotten Flaw: Uncovering the 12-Year-Old Linux NFS Vulnerability




A critical 12-year-old Linux NFS vulnerability, CVE-2026-99362, has left many systems exposed to attack. This vulnerability, dubbed NFS2ROOT, allows attackers to gain root access to systems without a password, account, or user click. The fix was not implemented until August 17, 2026, and OpenSec has provided guidance on how to address this vulnerability. Learn more about the NFS2ROOT vulnerability and how to protect your systems from exploitation.

  • The Linux NFS protocol has a 12-year-old vulnerability (CVE-2026-99362) that allows attackers to gain root access without a password or user click.
  • The vulnerability was introduced in 2014 and was not fixed until August 2026, when a patch was submitted by a cybersecurity agency.
  • The exploit works by forcing the Linux kernel to copy a full reply into an empty buffer, causing a heap overflow.
  • The attack can be achieved by setting the reply cache size to zero and sending a carefully crafted request.
  • Upgrading to the latest version of Linux, limiting access to TCP port 2049, and monitoring system logs can help reduce the risk of exploitation.
  • The Linux security team recommends upgrading to Linux 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1, as appropriate, and rebooting.



  • The Linux NFS (Network File System) protocol has been a staple of server networking for decades, allowing users to share files across different systems. However, a critical flaw in the Linux kernel's NFS server, tracked as CVE-2026-99362, has left many vulnerable to attack. This 12-year-old vulnerability, dubbed NFS2ROOT, has been exploited by attackers to gain root access to systems without a password, account, or user click.

    According to OpenSec, a cybersecurity agency, the vulnerability dates back to 2014, when the bug was introduced by commit 47ee52986472 in March 2014 and first appeared in Linux 3.16. Despite this, the fix was not implemented until August 17, 2026, when Jérémy Jean of France's cybersecurity agency, ANSSI, submitted a patch to address the issue. The CVE, or Common Vulnerabilities and Exposures, number for this vulnerability is 2026-99362, with a CVSS score of 9.8, indicating a high level of severity.

    The exploit works by forcing the Linux kernel to copy a full reply into an empty buffer, causing a heap overflow and writing 61 bytes beyond allocated memory. An attacker can achieve this by setting the reply cache size to zero and sending a carefully crafted request. The attack uses legitimate NFS traffic, making it difficult for traditional network detection tools to recognize it. OpenSec demonstrated the attack and gained root access before shutting down the server.

    To exploit this vulnerability, an attacker needs a vulnerable kernel, a running in-kernel NFS server, NFSv4.1 or 4.2 enabled, and access to TCP port 2049. File servers, storage devices, build systems, and Kubernetes storage nodes often use this port. The server doesn't need to be exposed to the internet; an attacker can exploit it from inside the network if they can reach the service.

    The Linux security team, led by Chuck Lever and Jeff Layton, has confirmed that the vulnerability affects exposed NFS servers. They recommend upgrading to Linux 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1, as appropriate, and rebooting. On distribution kernels, they suggest installing the update listing CVE-2026-99362. If an immediate update is not possible, limiting access to TCP port 2049 can reduce the risk.

    OpenSec recommends checking exposure with the following commands: `uname -r`, `lsmod | grep -w nfsd`, `cat /proc/fs/nfsd/versions`, and `ss -ltn 'sport = :2049'`. If an update is not feasible, restricting access to TCP port 2049 can help reduce the risk. Another option is to disable NFSv4.1 and NFSv4.2 by setting `vers4.1=n` and `vers4.2=n` under the `[nfsd]` section in `/etc/nfs.conf`, then restarting the `nfs-server` service.

    Monitoring is also crucial. OpenSec warns that the attack uses legitimate NFS traffic, making it difficult to detect using traditional network detection tools. Investigating unexpected crashes involving `nfsd4_check_resp_size`, `svc_`, or `call_usermodehelper` functions, shells started by kernel worker processes, and bursts of short NFSv4.1 sessions from the same IP address can help identify potential vulnerabilities.

    In conclusion, the 12-year-old Linux NFS vulnerability, CVE-2026-99362, has left many systems vulnerable to attack. The exploit is straightforward, using legitimate NFS traffic to gain root access. Upgrading to the latest version of Linux, limiting access to TCP port 2049, and monitoring system logs can help reduce the risk of exploitation. The Linux security team and OpenSec have provided guidance on how to address this vulnerability, emphasizing the importance of patching every host.



    Related Information:
  • https://www.ethicalhackingnews.com/articles/The-Forgotten-Flaw-Uncovering-the-12-Year-Old-Linux-NFS-Vulnerability-ehn.shtml

  • https://securityaffairs.com/204204/security/nfs2root-12-year-old-linux-nfs-flaw-gives-attackers-root.html


  • Published: Sun Nov 29 04:49:30 2026 by llama3.2 3B Q4_K_M













    © Ethical Hacking News . All rights reserved.

    Privacy | Terms of Use | Contact Us