[News] NFS2ROOT (CVE-2026-99362) - pre-auth remote root in Linux NFS server
1 message · started by Devi Garcia on Nov 26, 2026
[News] NFS2ROOT (CVE-2026-99362) - pre-auth remote root in Linux NFS server
From Devi Garcia · Nov 26, 2026
If any of your servers or your NAS share folders over NFS, this one is
worth five minutes today.
CVE-2026-99362, named NFS2ROOT by the researchers at OpenSec, is a
flaw in the Linux kernel's NFS server (nfsd). It goes back to Linux
3.16 and affects hosts that export NFSv4.1 or 4.2 with tcp/2049
reachable. Red Hat rates it Critical: an unauthenticated remote
attacker can corrupt kernel memory, which means root with no login.
OpenSec is keeping its exploit private, and nobody reports it being
exploited yet.
Where the fixes are, as of today:
- Upstream: fixed in 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1.
- Debian trixie: fixed from 6.12.117. Bookworm's default 6.1 kernel is
still vulnerable, but bookworm's 6.12 kernel is fixed.
- Ubuntu: rated Critical (CVSS 9.8), and every supported release still
shows "Vulnerable". No USN yet.
- Red Hat: Critical, no fix listed yet. Default RHEL doesn't run nfsd at all.
So on Ubuntu, apt upgrade won't help yet. First check whether you're
exposed at all:
systemctl is-active nfs-server
sudo exportfs -v
cat /proc/fs/nfsd/versions
If nfs-server isn't active and nothing is exported, this one doesn't
affect that box. If the versions file shows +4.1 or +4.2, read on.
If you don't need NFS on that machine, turn it off:
sudo systemctl disable --now nfs-server
If you do need it, make sure 2049 only answers your own clients. With
ufw, for example:
sudo ufw allow from 192.168.1.0/24 to any port 2049 proto tcp
sudo ufw deny 2049/tcp
(Change the subnet to your LAN, and check the rule order with sudo ufw
status numbered.) This is also Red Hat's mitigation: disable the NFS
server if you don't need it, or restrict port 2049 to trusted
networks.
One open question: no statement yet from TrueNAS SCALE,
OpenMediaVault, Unraid, or Synology - they all run Linux-based NFS
servers.
Sources:
- Ubuntu: https://ubuntu.com/security/CVE-2026-99362
- Debian tracker: https://security-tracker.debian.org/tracker/CVE-2026-99362
- Red Hat: https://access.redhat.com/security/cve/cve-2026-99362
- OpenSec write-up: https://opensec.in/blog/nfs2root-cve-2026-99362
- Reddit thread:
https://www.reddit.com/r/selfhosted/comments/1y5xjos/nfs2root_cve202699362_preauth_remote_root_in_the/
-------------------------------------------------------------------- Cochise Linux Users Group Mailing List - cochiselinux@wxyz For more information: https://cochiselinuxusergroup.org/ Discord: https://discord.gg/ym2hCH5FSk Mailing List Archive: https://www.freelists.org/archive/cochiselinux To unsubscribe: //www.freelists.org/list/cochiselinux
worth five minutes today.
CVE-2026-99362, named NFS2ROOT by the researchers at OpenSec, is a
flaw in the Linux kernel's NFS server (nfsd). It goes back to Linux
3.16 and affects hosts that export NFSv4.1 or 4.2 with tcp/2049
reachable. Red Hat rates it Critical: an unauthenticated remote
attacker can corrupt kernel memory, which means root with no login.
OpenSec is keeping its exploit private, and nobody reports it being
exploited yet.
Where the fixes are, as of today:
- Upstream: fixed in 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1.
- Debian trixie: fixed from 6.12.117. Bookworm's default 6.1 kernel is
still vulnerable, but bookworm's 6.12 kernel is fixed.
- Ubuntu: rated Critical (CVSS 9.8), and every supported release still
shows "Vulnerable". No USN yet.
- Red Hat: Critical, no fix listed yet. Default RHEL doesn't run nfsd at all.
So on Ubuntu, apt upgrade won't help yet. First check whether you're
exposed at all:
systemctl is-active nfs-server
sudo exportfs -v
cat /proc/fs/nfsd/versions
If nfs-server isn't active and nothing is exported, this one doesn't
affect that box. If the versions file shows +4.1 or +4.2, read on.
If you don't need NFS on that machine, turn it off:
sudo systemctl disable --now nfs-server
If you do need it, make sure 2049 only answers your own clients. With
ufw, for example:
sudo ufw allow from 192.168.1.0/24 to any port 2049 proto tcp
sudo ufw deny 2049/tcp
(Change the subnet to your LAN, and check the rule order with sudo ufw
status numbered.) This is also Red Hat's mitigation: disable the NFS
server if you don't need it, or restrict port 2049 to trusted
networks.
One open question: no statement yet from TrueNAS SCALE,
OpenMediaVault, Unraid, or Synology - they all run Linux-based NFS
servers.
Sources:
- Ubuntu: https://ubuntu.com/security/CVE-2026-99362
- Debian tracker: https://security-tracker.debian.org/tracker/CVE-2026-99362
- Red Hat: https://access.redhat.com/security/cve/cve-2026-99362
- OpenSec write-up: https://opensec.in/blog/nfs2root-cve-2026-99362
- Reddit thread:
https://www.reddit.com/r/selfhosted/comments/1y5xjos/nfs2root_cve202699362_preauth_remote_root_in_the/
-------------------------------------------------------------------- Cochise Linux Users Group Mailing List - cochiselinux@wxyz For more information: https://cochiselinuxusergroup.org/ Discord: https://discord.gg/ym2hCH5FSk Mailing List Archive: https://www.freelists.org/archive/cochiselinux To unsubscribe: //www.freelists.org/list/cochiselinux