A critical security flaw in the Linux kernel allows attackers to gain root access to systems using the Network File System (NFS), researchers reported on Friday.
The vulnerability, tracked as CVE-2026-99362, has existed in the kernel since 2014.
Security firm OpenSec discovered the bug, which it calls “NFS2Root,” in the code that parses network input before authenticating users. An attacker can trigger a heap-based buffer overflow if the server is reachable via the standard TCP port 2049. The firm demonstrated a proof of concept that successfully obtained a root shell on an affected device.
The vulnerability affects all kernel versions released since 3.16, including recent 4.x versions, and carries a CVSS score of 9.8 due to its ease of exploitation. Linux kernel maintainers have released patches in versions 6.12.117, 6.18.61, 7.3.2, and 7.4-rc1, though these fixes are not yet widely implemented. Canonical is currently maintaining a tracker to identify which versions remain vulnerable.
While the flaw poses a significant risk to servers, NAS systems, and Kubernetes clusters, its practical impact depends on network configuration. Because NFS is typically restricted to trusted hosts or protected by protocols like SSH, many systems remain shielded from public exposure.
“With good segmentation, it is simply a matter of waiting for the updates that resolve this without significant risk,” noted user The Zep Man in a discussion on Tweakers.
The vulnerability remains a concern for internal networks where security segmentation is lacking, potentially allowing an attacker who has already compromised a single machine to move laterally and seize control of critical infrastructure. As of November 27, 2026, security administrators are advised to check their kernel versions and monitor the status of available patches to mitigate the risk of unauthorized root access.