CISOOnline

Flaw in Linux NFS file sharing exposes servers to remote takeover

Researchers have found a critical flaw in the Linux kernel’s NFS file-sharing server that lets unauthenticated attackers obtain a root shell on affected systems. The flaw remained undetected in the kernel for 12 years, until two researchers, one using an AI agent, discovered it independently.

NFS is typically used inside local networks, including in container networks in Kubernetes clusters and on build servers in development environments. However, it is also enabled on many embedded devices and in network-attached storage (NAS) devices which might be running older kernel versions and can only be patched with firmware updates.

Tracked as CVE-2026-99362 and dubbed NFS2ROOT, the flaw affects systems running the NFSv4.1 or NFSv4.2 versions of the Network File System protocol, the default in many Linux distributions. The vulnerability allows anyone who can reach a server’s port 2049 to corrupt the memory of the nfsd process, the kernel component that serves NFS requests. It is rated 9.8 in severity.



Source link