On November 25, security firm OpenSec disclosed a pre-auth remote code execution vulnerability in the Linux kernel NFS server (nfsd) dubbed NFS2ROOT (CVE-2026-99362), with a CVSS score of 9.8. An attacker doesn't need to log in — a single TCP connection to port 2049 is enough to trigger a kernel heap overflow and get a root shell.
The bug comes from the NFSv4.1/4.2 session reply cache: a client can negotiate the cache down to 0 bytes, forcing the server to copy the full reply into an out-of-bounds region on the heap. The flaw has existed since Linux 3.16 in 2014, lying dormant for about 12 years. OpenSec says its AI agent Antara found the vulnerability autonomously and reproduced a root shell; Jérémy Jean of French cybersecurity agency ANSSI also found it independently and wrote the upstream fix.
Affected are Linux hosts running NFSv4.1 or 4.2 services with port 2049 reachable from the network. Fixed versions include 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1, with patches for older longterm branches as well. OpenSec recommends upgrading the kernel and rebooting immediately, and blocking port 2049 at the firewall until you do.
Original author: https://www.nodeseek.com/post-1082503-1
11 月 25 日,据安全公司 OpenSec 披露,Linux 内核 NFS 服务器(nfsd)存在预认证远程代码执行漏洞 NFS2ROOT(CVE-2026-99362),CVSS 评分 9.8 分。攻击者无需登录,只需一次 TCP 连接到 2049 端口,即可触发内核堆溢出并拿到 root shell。
该漏洞源于 NFSv4.1/4.2 的会话回复缓存:客户端可把缓存协商为 0 字节,迫使服务器把完整回复复制进堆上越界区域。漏洞自 2014 年 Linux 3.16 起存在,潜伏约 12 年。OpenSec 称其 AI 智能体 Antara 自主发现了该漏洞并复现出 root shell;法国网络安全局 ANSSI 的 Jérémy Jean 也独立发现了该漏洞并编写了上游修复。
受影响的是开启 NFSv4.1 或 4.2 服务、且 2049 端口可从网络访问的 Linux 主机。修复版本包括 6.12.117、6.18.61、7.3.2 与 7.4-rc1,旧长期分支亦有补丁。OpenSec 建议立即升级内核并重启,升级前先用防火墙封锁 2049 端口。
原作者:https://www.nodeseek.com/post-1082503-1
Translated by AI from 简体中文Original (简体中文)
4 replies
Sort order