NFS2ROOT: is your office NAS or file server at risk?
On 25 November 2026, researchers showed a flaw that had sat in Linux for twelve years: anyone who can reach a Linux file server on one network port can take it over, with no password. The headlines say any Linux file server. For a small business the real question is narrower: do you have a NAS box or server sharing files over NFS, and can anyone outside reach it? Here is how to tell in a few minutes.
By Dan · Published 26 November 2026 · 7 min read
The short answer
- The flaw is in the NFS file-sharing server built into Linux. Your website, your PCs and your Macs are not affected.
- The likeliest place a small business has it is a NAS box, such as a Synology or QNAP, with NFS switched on. Windows-style file sharing (SMB) is not affected.
- A machine is at risk only with NFS version 4.1 or 4.2 on and port 2049 reachable. Never forward that port from your router.
- No attacks had been reported when we checked on 26 November, and the researchers are keeping their exploit private.
- The fix is an updated Linux kernel and a restart. Many distributions and NAS makers had not shipped one yet.
What is NFS2ROOT?
NFS2ROOT is a flaw in Linux's built-in NFS server, tracked as CVE-2026-99362. NFS is the way Linux and Unix machines share folders over a network, much as Windows uses SMB. Newer versions of NFS keep a copy of each recent reply so a repeated request gets the same answer. The connecting machine chooses how much room that copy gets, and if it asks for none at all, a carefully padded request makes the server copy its whole reply into a space of zero bytes. About 60 bytes spill over into the server's memory, and the attacker chooses most of them.
All of this happens before the server checks who is connecting. The official record says no login, no account and no shared folder are needed: just a connection to port 2049. The record says that alone can crash the server. OpenSec, the security firm that named it, says it went further: it read back part of the server's memory, then steered the kernel into running a command of its choosing as root, the all-powerful administrator account. Its video shows the attacker's machine making the victim print “root” and switch itself off.
The faulty code arrived in Linux 3.16 in 2014. Jérémy Jean of ANSSI, France's national cyber security agency, sent the kernel a fix in August 2026. OpenSec's automated research tool found the same flaw on its own in September and reported it on 22 September. The kernel's CVE team published the CVE, with fixes, on 19 November, and OpenSec published its write-up, under the NFS2ROOT name, on 25 November.
| Name | CVE-2026-99362, nicknamed NFS2ROOT |
|---|---|
| Where the bug lives | The NFS file-sharing server built into the Linux kernel, called nfsd. Not in any one app or brand |
| What an attacker needs | To reach TCP port 2049 on the server. No password, no account and no shared folder |
| What an attacker gets | A crash is the easy part. The researchers turned it into full control of the machine as root |
| Which machines | Linux machines that share files over NFS versions 4.1 or 4.2. Since Linux 3.16, released in 2014 |
| Fixed in | Linux 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61 and 7.3.2, or a distribution update that names the CVE |
| Rating | 9.8 Critical from the Linux kernel's CVE team and Ubuntu. Red Hat's preliminary score is 9.4 |
| Exploited? | No attacks reported, the exploit is private, and it was not on CISA's exploited list when we checked on 26 November |
How serious is NFS2ROOT for a small business?
Serious for the machines it reaches, but it reaches far fewer than the headlines suggest. Figures checked on 26 November 2026.
12
years the flaw sat in Linux, from version 3.16 in 2014 until the November 2026 fix
Source: CVE record
1
network connection to port 2049 is all an attacker needs, with no password or account
Source: CVE record, OpenSec
0
attacks reported, and not on CISA's list of vulnerabilities exploited in real attacks
Source: CISA catalogue, 25 November
The kernel's CVE team scores it 9.8 out of 10, the top band, because an attacker needs nothing but a connection. What keeps most small businesses out of range is that few of them run an NFS server, and fewer still let the internet reach one. Some of what is going round needs a closer look:
| The claim | What the sources say |
|---|---|
| “Every Linux server is open to it” | Only machines running Linux's own NFS server with version 4.1 or 4.2 switched on. Red Hat says its default install does not run that server at all. Web servers, laptops and machines that only connect to someone else's NFS share are not exposed. |
| “It works in the default configuration” | On a standard Linux server, true once it is an NFS server: versions 4.1 and 4.2 come switched on with it. But the NFS server itself is something you or your IT company turn on, and a NAS lets you pick the versions. |
| “It is patched, so we are fine” | The kernel fix shipped in November, but on 26 November Ubuntu still listed every release from 16.04 on as vulnerable, Debian 12's standard kernel was not fixed, and Red Hat had no fixed kernel. A fix also does nothing until the machine restarts. |
| “AI found it on its own” | OpenSec says its tool found the bug and built the root exploit with no human in the loop. Jérémy Jean of ANSSI, France's cyber security agency, had already sent the kernel a fix a month earlier, and wrote the one that shipped. |
Who is affected by NFS2ROOT?
A machine is exposed only when all four of these are true. If any one is false, the attack cannot work.
1. A kernel without the fix
Older than 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61 or 7.3.2, with no distribution update that names CVE-2026-99362. Linux older than 3.16 never had the bug.
2. The NFS server running
The machine shares folders using NFS, through the server built into the Linux kernel. File servers and NAS boxes do; ordinary web servers and desktops usually do not.
3. NFS version 4.1 or 4.2 on
The flaw is in how these two versions keep track of sessions. A server offering only NFS version 3 or 4.0 never runs the faulty code.
4. Port 2049 reachable
Someone who wants to attack it has to be able to connect to port 2049. From the internet, or from any other device on the same network.
Where small businesses meet it: the office NAS
Accountants, solicitors, architects and photographers often keep files on a NAS, a small storage box that runs Linux underneath. Most offices reach it the Windows way, over SMB, which this flaw does not touch. NFS is usually switched on for something specific: a Linux machine, a virtual server host, or a backup job. Here is where the setting lives and what each maker had said when we checked.
| NAS | Where to check NFS | Maker's statement |
|---|---|---|
| Synology (DSM 7) | Control Panel, File Services, NFS. Off until someone ticks Enable NFS service; the Maximum NFS protocol menu offers NFSv3, NFSv4 or NFSv4.1 | None on NFS2ROOT. Synology's advisory list shows nothing for it on 26 November |
| QNAP (QTS 5.2) | Control Panel, Network & File Services, Win/Mac/NFS/WebDAV, NFS Service. You choose which NFS versions to offer | None on NFS2ROOT. QNAP's advisory list shows nothing for it on 26 November |
| Other Linux-based NAS | Usually a file services or sharing page with an NFS switch and a version choice | Check the maker's security page and install its next update |
Synology says NFSv4.1 is offered only on some of its models, so on an older box the option may not appear at all. The other places NFS2ROOT turns up are the ones OpenSec lists: file servers, build machines and the storage behind container clusters. Those belong to software firms and IT companies rather than the average office, and if you rent servers in the cloud, ask whoever set them up.
How to check your business, in six steps
Steps one to three take a few minutes and need no technical knowledge. If step one or two turns up nothing, you can stop there.
Find out whether you have an NFS server at all
Most small offices share files the Windows way, called SMB, which this flaw does not touch. The machines to think about are a NAS box (a Synology, QNAP or similar storage unit in a cupboard) and any Linux file server. If an IT company looks after them, ask: “Do we run an NFS server anywhere, and has it been patched for CVE-2026-99362?”
On a NAS, check whether NFS is switched on
On a Synology, open Control Panel, then File Services, then NFS. On a QNAP, open Control Panel, then Network & File Services, then Win/Mac/NFS/WebDAV, then NFS Service. If the NFS service is off, this flaw cannot reach the box, and you can stop here.
Make sure port 2049 is not open to the internet
Log in to your office router and look at its port forwarding list. Nothing should send port 2049 to the NAS or a server. NFS is meant for a local network only; a box that answers on 2049 from the internet is the one most at risk. If you are unsure, ask your broadband or IT provider to check.
Switch NFS off, or drop to an older version
If nothing in the office uses NFS, turn the service off. If something does, such as a backup job or a Linux machine, set the highest version to NFSv3 or NFSv4 rather than NFSv4.1 (on a QNAP, untick NFSv4.1 and anything newer). Test the backup afterwards. This is a stopgap until an update arrives, not a fix.
Install the update when it comes, then restart
For a NAS, that means the maker's next system update; turn on automatic security updates if it offers them. For a Linux server, your IT company installs a kernel update that names CVE-2026-99362 and restarts the machine. Until it restarts, the old kernel is still running.
For whoever runs your Linux servers: four checks
OpenSec's test is four commands:
uname -r(the kernel version),lsmod | grep -w nfsd(is the NFS server loaded),cat /proc/fs/nfsd/versions(does it show +4.1 or +4.2) andss -ltn 'sport = :2049'(is it listening beyond the machine itself). All four true means exposed. Until a patched kernel is in, firewall 2049 to known machines, or setvers4.1=nandvers4.2=nunder[nfsd]in/etc/nfs.confand restart nfs-server.
Where the fixes stand, by Linux distribution
Servers get their kernel from a distribution rather than straight from the Linux project, and each ships the fix on its own timetable. Your IT company will know which one you run.
| Distribution | Status |
|---|---|
| Linux kernel (upstream) | Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1 |
| Debian 13 (trixie) | Fixed in 6.12.117-1 and later |
| Debian 12 (bookworm) | Standard 6.1 kernel still vulnerable (6.1.192-2). The optional linux-6.12 kernel is fixed in 6.12.117-1~deb12u1 |
| Ubuntu | 16.04 to 26.10 all listed as vulnerable, with fixes in progress for 26.04 LTS and 26.10. 14.04 is too old to have the bug |
| Red Hat Enterprise Linux | No fixed kernel published. Red Hat says its default install does not run the NFS server |
A coral dot means no fix was available for the standard kernel on 26 November. Until there is one, steps three and four are what protect you.
What we do not know yet
What the NAS makers will say. Synology and QNAP both published advisories on this year's Copy Fail and Dirty Frag kernel flaws, saying whether their boxes were affected. Neither had said anything about NFS2ROOT on 26 November.
When everyone has a fix. Ubuntu, Red Hat and Debian 12's standard kernel were still waiting. Until they ship, servers running them rely on the firewall and version settings in steps three, four and six.
Whether an exploit goes public. OpenSec says its root exploit stays private, and nobody else has claimed one. The day working attack code appears is the day the risk changes. We will update this page when the makers, the distributions or the exploit picture move.
NFS2ROOT questions, answered
What is NFS2ROOT?
NFS2ROOT is the nickname for CVE-2026-99362, a flaw in the file-sharing server built into the Linux kernel. Anyone who can connect to port 2049 on a machine sharing files over NFS version 4.1 or 4.2 can make it write past the end of a block of memory, without logging in. The researchers at OpenSec turned that into full control of the machine. The bug dates from Linux 3.16 in 2014, and the fix was published on 19 November 2026.
Is NFS2ROOT being exploited?
Not that anyone has reported. When we checked on 26 November 2026, it was not on CISA's Known Exploited Vulnerabilities list, OpenSec was keeping its exploit private, and no attacks had been reported. The fix and a detailed write-up are both public, though, which often lets others build an attack within weeks, so do not wait for one.
Does NFS2ROOT affect my Synology or QNAP NAS?
Only if its NFS service is switched on with version 4.1 or higher, and something can reach it on port 2049. Synology's NFS service is off until someone ticks Enable NFS service, and its Maximum NFS protocol setting decides whether 4.1 is offered. QNAP lets you tick each version. Neither had published an advisory on NFS2ROOT when we checked on 26 November, so turn NFS off if you do not use it and install their next update.
Is my website affected by NFS2ROOT?
Almost certainly not. A website does not share files over NFS, and WordPress and Next.js sites, like the ones we build, have nothing to do with it. Some hosting companies use NFS behind the scenes to store files, and patching those servers is the host's job. If you run your own server, the four checks in step six tell you in a minute.
Are Windows PCs and Macs at risk?
No. Windows file sharing uses SMB, a different system, and the flaw is in Linux's NFS server. A Mac or PC that connects to an NFS share is a client, and clients are not affected. The risk is the machine doing the sharing.
Which Linux versions fix NFS2ROOT?
Upstream, Linux 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61 and 7.3.2, and 7.4 when it is released. Distributions number their kernels differently, so look for an update that names CVE-2026-99362, then restart. On 26 November Debian 13 was fixed, while Ubuntu, Debian 12's standard kernel and Red Hat were not.
Is NFS2ROOT the same as Java4Shell or PHP2Shell?
No. Java4Shell was a flaw in Java and PHP2Shell a set of flaws in PHP; both are software that runs applications. NFS2ROOT is in the Linux kernel itself, in its file-sharing server, so the fix is a kernel update and a restart. The names follow the same fashion, nothing more.
Sources & further reading
The guidance on this page is grounded in primary sources. Follow the links to read them in full.
- OpenSec: NFS2ROOT, a 12-year-old pre-auth remote root in the Linux kernel's NFS server
The researchers' write-up: the four exposure checks, the root exploit (kept private), the workarounds, the signs to look for and the credits.
- CVE record: CVE-2026-99362
The kernel CVE team's description, the 9.8 score, the 3.16 starting point and the fixed versions for each Linux series.
- Red Hat: CVE-2026-99362
Red Hat's preliminary 9.4 score, its note that default installs do not run the NFS server, and its firewall and service workarounds.
- Debian security tracker: CVE-2026-99362
On 26 November 2026: fixed in trixie and in bookworm's optional linux-6.12, not in bookworm's standard 6.1 kernel.
- Ubuntu: CVE-2026-99362
On 26 November 2026: every supported release listed as vulnerable, with fixes in progress for 26.04 LTS and 26.10.
- CISA: Known Exploited Vulnerabilities catalogue
Not listed in the catalogue released on 25 November 2026, the latest when we checked.
- Synology: product security advisories
No NFS2ROOT advisory on 26 November 2026.
- Synology DSM 7 help: NFS
Where the NFS service is switched on, the Maximum NFS protocol setting and the models without NFSv4.1.
- QNAP: security advisories
No NFS2ROOT advisory on 26 November 2026.
- QNAP QTS 5.2: configuring NFS service settings
Where the NFS service is switched on and the NFS versions are chosen.