Security firm OpenSec disclosed a critical vulnerability, CVE-2026-99362, affecting the Linux kernel NFS server component. The flaw, dubbed NFS2ROOT, carries a CVSS score of 9.8 and allows unauthenticated attackers to gain root access to target servers. The issue stems from a pre-authentication heap buffer overflow triggered by sending crafted NFS requests to TCP port 2049.

The vulnerability has existed for over 12 years, dating back to the Linux 3.16 kernel released in 2014. It impacts devices running NFS servers with NFSv4.1 or NFSv4.2 enabled, including NAS devices, file servers, and Kubernetes storage nodes. The flaw was originally discovered by Jérémy Jean from the French National Cybersecurity Agency (ANSSI) in August.

The Linux kernel maintenance team has released patches in versions 6.12.117, 6.18.61, 7.3.2, and 7.4-rc1. Additional fixed versions, such as 6.6.163, 6.1.193, and 5.10.275, are tracked by Debian. Administrators are advised to apply these updates and reboot systems, or restrict access to TCP port 2049 via firewalls if immediate patching is not feasible.

While the vulnerability is severe, there are currently no public reports of it being exploited in the wild. OpenSec provided remote exploit code and patches to NFSD maintainers in late September. Users of custom distribution kernels should monitor their specific vendors for backported security updates to ensure their systems remain protected.