Panellicense

NFS2ROOT CVE-2026-99362: remote root via the Linux NFS server

NFS2ROOT (CVE-2026-99362) is an unauthenticated heap overflow in Linux nfsd. Who is exposed, fixed kernels by distro, KernelCare status, and how to block port 2049 today.

KCAll KernelCare articlesNews & changelogs6 min readUpdated 2026-12-02
schema: TechArticleschema: FAQPageschema: BreadcrumbList

NFS2ROOT (CVE-2026-99362) is a heap out-of-bounds write in the Linux kernel NFS server, nfsd. Anyone who can reach TCP port 2049 can trigger it, with no account and no valid export. The CVE record scores it 9.8; Red Hat rates it Critical at 9.4. The kernel CVE team published it on 19 November 2026, OpenSec released its write-up on 25 November, and TuxCare summarised vendor status on 1 December.

Most cPanel, Plesk, and CloudLinux web nodes do not run an NFS server, and hosts that only mount NFS shares are not affected. The servers to worry about are backup targets, shared-storage boxes, and home-grown clusters that export directories over NFS. If one of those is reachable from the internet or from customer VPSs, treat this as an emergency.

What the bug does

The flaw is in nfsd4_sequence(), which handles the SEQUENCE operation at the start of every NFSv4.1 and 4.2 session request. A client can negotiate the session's cached reply size down to zero. The server shrinks its reply buffer before accepting the slot, so a crafted COMPOUND request makes it copy a full reply into a zero-length cache. Part of the overflowing data comes from the attacker's own request.

The bug runs before any file handle or export check, so /etc/exports restrictions do not protect you. OpenSec says it chained the overflow into a root shell; that exploit is private. Exploit repositories claiming to work have appeared on GitHub, but TuxCare has not tested them. No in-the-wild exploitation had been reported as of 30 November.

The vulnerable code has been upstream since Linux 3.16 (2014). The fix is commit 35ff1a7a7e38, "nfsd: preflight SEQUENCE replies before accepting a slot".

Check whether a server is exposed

You are exposed only if all four are true: a vulnerable kernel, nfsd running, NFSv4.1 or 4.2 enabled, and port 2049 reachable by the attacker.

uname -r
systemctl is-active nfs-server
cat /proc/fs/nfsd/threads
cat /proc/fs/nfsd/versions
ss -ltn 'sport = :2049'

inactive and nothing listening on 2049 means the server is not exposed. On Debian and Ubuntu the unit is usually nfs-kernel-server. In the versions output, +4.1 or +4.2 means those protocol versions are on.

Fixed kernels by distro

Status as of 30 November (TuxCare), with Ubuntu updated from its own tracker on 1 December:

DistroStatus
RHEL, AlmaLinux, Rocky, Oracle Linux 8Fixed in 4.18.0-553.190.1.el8_10 (ALSA/RHSA-2026:103817, 26 November)
RHEL 9, AlmaLinux 9, Rocky 9, CloudLinux 9No fix yet
RHEL 10, AlmaLinux 10, CloudLinux 10Not confirmed, no fix listed
CloudLinux 7h and 8Not verified, treat as affected
Debian 12 and 13Fixed (6.1.192-3 and 6.12.117-1 packages)
Ubuntu 16.04 to 26.10Vulnerable, no fixed package released
Amazon Linux 2 and 2023, Oracle UEK 6/7/8Fixed

Upstream stable kernels 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, and 7.3.2 carry the fix.

On AlmaLinux 8 and other EL8 rebuilds, install the fixed kernel and reboot:

dnf update kernel
reboot

After the reboot, uname -r should show 4.18.0-553.190.1.el8_10 or later.

Mitigations until you can patch

For EL9, EL10, CloudLinux, and Ubuntu there is nothing to install yet, so close the attack path instead.

Option 1: stop the NFS server. If nothing needs it, this ends the problem:

systemctl disable --now nfs-server

Clients that still mount the share will hang or error, so check what depends on it first.

Option 2: restrict port 2049 to trusted hosts. With firewalld, this is Red Hat's recommended mitigation:

firewall-cmd --permanent --remove-service=nfs
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="10.20.0.0/16" service name="nfs" accept'
firewall-cmd --reload

The rule covers IPv4 only and applies to the default zone. Add an IPv6 rule if the server listens on IPv6. Any client you allow can still trigger the bug, so keep the list to machines you control. On cPanel servers running CSF, make sure 2049 is not in TCP_IN or TCP6_IN in /etc/csf/csf.conf, add trusted clients to /etc/csf/csf.allow, and reload with csf -r.

Option 3: disable NFSv4.1 and 4.2. Add this to /etc/nfs.conf, restart the NFS server, and confirm /proc/fs/nfsd/versions shows -4.1 -4.2:

[nfsd]
vers4.1=n
vers4.2=n

Clients have to remount, and you lose pNFS and other 4.2 features. If clients fall back to NFSv3, it needs extra RPC services open in the firewall.

KernelCare status

As of 30 November, TuxCare had not released a rebootless KernelCare patch for any distribution and gave no date. Work is in progress for EL8, Amazon Linux 2, Oracle UEK 6 and 7, Debian 12, and the AlmaLinux 9.6 ESU kernel. EL9, EL10, CloudLinux 7h and 8, Ubuntu, and Debian 13 have no patch or date yet.

When a patch ships, apply it and confirm:

kcarectl --update
kcarectl --patch-info | grep CVE-2026-99362

An empty result means the patch is not applied. ePortal users need to sync the patch feed first. On EL8 the vendor kernel is already out, so reboot now rather than wait for the livepatch. Servers running Imunify360 may already have KernelCare included.

What is NFS2ROOT CVE-2026-99362?+
A heap out-of-bounds write in the Linux kernel NFS server's NFSv4.1/4.2 SEQUENCE handling. An unauthenticated attacker who can reach port 2049 can corrupt kernel memory, and OpenSec has shown it leading to root.
Am I affected by CVE-2026-99362 if I only mount NFS shares?+
No. Only hosts running the kernel NFS server (nfsd) are affected. NFS clients, and servers where nfs-server is inactive, are not exposed.
Does /etc/exports protect against NFS2ROOT?+
No. The vulnerable code runs before the server checks file handles or exports, so export restrictions and Kerberos settings do not block it. Firewall port 2049 or stop the NFS server instead.
Is there a KernelCare patch for CVE-2026-99362?+
Not as of 30 November 2026. TuxCare says rebootless patches are in progress for EL8, Amazon Linux 2, Oracle UEK 6 and 7, and Debian 12, with no release date. EL8 users should reboot into kernel 4.18.0-553.190.1.el8_10.
Is AlmaLinux 9 fixed for NFS2ROOT?+
Not yet. As of 30 November there was no fixed kernel for RHEL 9, AlmaLinux 9, Rocky 9, or CloudLinux 9, so block port 2049 or disable NFSv4.1 and 4.2 until one ships.

Next steps

Switch in an afternoon

Switch from your current reseller — free.

We migrate active cPanel, Plesk, LiteSpeed and CloudLinux licenses from any reseller. We prorate the first month so you never pay twice, and your customers see zero downtime during the swap.