Tailworm: the Tailscale SSH flaws, and the fix
Tailscale is the private network many small teams use to reach office servers, home labs and cloud machines without opening ports. On 24 October a researcher published eleven flaws in it. Tailscale released fixes for most of them in version 1.104.4 on 28 October. The serious ones only mattered if you use one particular feature. This guide shows how to tell, what to update, and what is still open.
By Elliot · Published 26 October 2026 · 8 min read
The two-minute version
- The worst flaws are in Tailscale SSH, a feature you switch on per machine. Many users never have.
- An attacker first needs control of a device already inside your Tailscale network.
- Tailscale 1.104.4 (28 October) fixes the worst of them. Update, then check what is left. Nobody has reported real attacks.
- Check your version and whether Tailscale SSH is on, switch it off where OpenSSH will do, and tighten the rest.
A root-level SSH server, and a lab-built chain
Tailscale SSH lets people log in to a server using their Tailscale identity instead of SSH keys. Unlike the standard OpenSSH server, it is not a separate program: it lives inside the main Tailscale service, which runs with full root privileges. OpenSSH deliberately drops to the logged-in user's permissions before it does anything on their behalf. The report found places where Tailscale SSH did not.
The headline case is socket forwarding. SSH can forward a Unix socket, a local connection point that services such as Docker use for their controls. Tailscale SSH opened those sockets as root, so an ordinary user could reach things only root should, and a timing race beat the list meant to restrict them. In the lab, root on one machine then gave up stored enrolment keys, which let the researcher add a rogue device under the victim's identity.
Tailscale acknowledged the report and its engineers began merging fixes within hours. Code that makes forwarded sockets open with the user's own permissions was merged on 26 October. The same day Tailscale published an update calling the reports serious security issues, saying fixes for most were in testing and that it was aiming for a patched release by the end of 27 October. The same day it published four security bulletins (TS-2026-014 to 017, with no CVE numbers or severity ratings), and on 28 October it released version 1.104.4 on all platforms with the fixes. Versions 1.104.5, 1.104.6 and 1.104.7 followed between 2 and 12 November.
| Name | Tailworm, a report of 11 findings by Erica Windisch of Cyberdione Labs |
|---|---|
| Published | Saturday 24 October 2026, about two hours after Tailscale says it received the report, without a coordinated release of fixes |
| Products | Tailscale 1.104.2 (the stable release when tested) and headscale 0.29.5, the open-source control server |
| Worst finding | An ordinary Tailscale SSH login could reach files and services only the root account should, then take over the machine |
| What an attacker needs | Control of one device already in your tailnet, with an SSH rule that lets it log in to the target |
| Fixed? | Mostly. Tailscale 1.104.4, released on 28 October, fixes the SSH forwarding, SSH memory and Serve bugs, covered by four security bulletins (TS-2026-014 to 017) with no CVE numbers. By the researcher's own tally of 28 October, one finding (9) is still open, one (4) is only partly fixed in unreleased code and one (10) has no change planned. Later releases, up to 1.104.7 on 12 November, list no further Tailworm fixes |
| Exploited? | No reports of real-world attacks. The chain was shown in a lab only |
Eleven findings, of very different weight
Grouped from the report. Severity is the researcher's own rating. Tailscale calls the reports serious but has not rated the findings one by one.
11
findings in the report, across Tailscale and headscale
Source: Tailworm report
50,000
businesses use Tailscale, by the company's own figure
Source: tailscale.com
4
security bulletins, all fixed in 1.104.4, with no CVE numbers
Source: Tailscale bulletins
Only the first three need most readers' attention, and only if Tailscale SSH is switched on somewhere. The rest concern a newer connector type, specific Serve and Funnel configurations you would have had to set up yourself, and the self-hosted headscale server. Fifty thousand businesses is Tailscale's own count of its users; it does not tell you how many have Tailscale SSH switched on, and nobody has published that.
| Finding | Researcher's rating | What it means |
|---|---|---|
| Findings 1 to 3 | High | Tailscale SSH opened forwarded Unix sockets as root, so a normal user could reach root-only services such as Docker's control socket, or race the allow-list meant to stop it |
| Finding 4 | High | A newer type of app connector let an entitled user send traffic to places it should not reach, including cloud metadata services |
| Finding 5 | High | A logged-in SSH session could exhaust the memory of the Tailscale service, which runs as root |
| Finding 6 | Medium to High | headscale could be pushed out of memory, and pending device approvals evicted, without logging in |
| Finding 7 | High | A specific tailscale serve set-up, pointing at Tailscale's own control socket, hands peers admin control of the node. Tailscale refuses it as of 1.104.4 |
| Findings 8 to 11 | Medium or lower | Weaknesses in Tailscale Serve and Funnel set-ups. Tailscale fixed 8 and 11 in 1.104.4. Finding 9 is still open and finding 10 is a documented setting with no change planned |
Who is in range, and who is not
The serious findings need Tailscale SSH on the target. Everything turns on that.
Exposed: Linux servers with Tailscale SSH on
Tailscale SSH is switched on per machine, with tailscale set --ssh. It runs on Linux, and on macOS only with the open-source build of the Tailscale service. A Linux server where someone turned it on, with an SSH rule that reaches it, is the case the report is about.
Exposed: anything on headscale with SSH rules
On headscale, the report says every SSH rule also grants forwarding and it cannot be switched off. If you run your own control server and use Tailscale SSH through it, treat every SSH rule as if it granted root.
Higher risk: broad rules and stored keys
Rules that let every member reach every server, rules that allow the root user, and reusable or non-expiring auth keys left on servers all make the step from one compromised laptop to the rest of the network shorter.
Not exposed: plain OpenSSH over the tailnet
If you use Tailscale only as the network and log in with the normal OpenSSH server, the SSH findings do not apply. The report itself describes default OpenSSH as a clean negative.
Not exposed: Windows, phones, App Store Mac
Windows, iPhone, Android and the App Store version of Tailscale for Mac cannot run the Tailscale SSH server, so they cannot be the target of the SSH findings. They can still be the first device an attacker controls.
Not exposed: plain subnet routers and Funnel
Machines used only as subnet routers, exit nodes, or for ordinary Serve and Funnel sharing are outside the SSH findings, as long as nothing is forwarded to Tailscale's own control socket (finding 7).
Update, then lock it down
Step one takes a minute in the admin console and decides how much of the rest you need. If Tailscale SSH is off on every machine, skip to step five, and update anyway.
Find out whether Tailscale SSH is on
In the Tailscale admin console, open Machines and filter by the Tailscale SSH property. On each Linux machine you can also run
tailscale debug prefsand look for"RunSSH": true. Most small set-ups will find it off everywhere, and can stop worrying about findings 1 to 3.Switch it off where OpenSSH will do
On any server that does not need it, set up normal OpenSSH access first so you do not lock yourself out, then run
sudo tailscale set --ssh=false. This is the surest option, because it removes the SSH server entirely rather than narrowing who can reach it, and it keeps you safe from whatever the next bug turns out to be.Narrow the SSH rules you keep
In the access policy, name specific people or groups as the source, specific tagged servers as the destination, and one named unprivileged account as the user. Remove
rootfrom every rule and avoid accounts with passwordless sudo. Note thatautogroup:nonrootlimits the damage but does not stop the forwarding bug.Update, then decide on forwarding and check mode
Where you keep Tailscale SSH, update to 1.104.4 or later first: that is the release with the fixes. Tailscale's bulletin for the forwarding bug (TS-2026-014) also gives a setting that switches forwarding off altogether,
TS_SSH_DISABLE_FORWARDING=1in the Tailscale service's environment (on most Linux servers, the file/etc/default/tailscaled), followed bysudo systemctl restart tailscaled. If nobody needs SSH forwarding, setting it removes the feature, which is a sensible habit. Setting an SSH rule's action tocheckmakes the person re-confirm who they are in a browser before the session opens. That is an extra lock, and the report's claim that it did not stop the forwarding bugs is the researcher's, not something Tailscale has confirmed.Control which devices can join
Switch on device approval (all plans) or Tailnet Lock, revoke reusable auth keys you no longer need, and remove any key stored on a server in an environment file. Revoking a key does not remove devices that already joined with it, so check the Machines list for anything you do not recognise.
Update, turn on auto-update and watch the bulletins
Update servers with Tailscale SSH first, to 1.104.4 or later. The current release is 1.104.7 (12 November), which also fixes a separate Kubernetes operator flaw (TS-2026-018), and 1.104.5 (2 November) added SSH stability fixes and a Windows installer fix. Then check
tailscale versionon each one. Runtailscale set --auto-updateon machines that allow it, and keep an eye on Tailscale's security bulletins page. If you run headscale, upgrade it to 0.29.7 (30 October), which bounds the memory and pending-approval behaviour the report described, and update your Tailscale clients too, as headscale's own release notes advise. Keep the control server off the open internet.
What is proven, what is claimed, and what is argued
Proven, as far as anyone can tell from outside: Tailscale treated the forwarding problem as real, merged a fix for it within a day, and called the reports serious security issues in its own update. Claimed, from the lab only: that the chain spreads automatically in under a second per hop, and that it can mint a rogue device. Nobody has reproduced those publicly, and the report's own text notes that tightly scoped rules and hardware-bound device keys slowed or stopped it.
Argued: whether “worm” is fair, and how far a compromised device can see. One Tailscale engineer said the hosted service hides machines from peers with no policy path to them, so “every node sees every node” mostly describes headscale. Others disputed that, and the discussion did not settle it. Tailscale's 26 October update did not mention the worm or rogue-device claims, and its bulletins give no severity rating. Tailscale's own blog of 28 October, which we read directly, says the findings are not self-replicating malware but lateral movement limited to connections its policy file allows, and that three of the five Serve and Funnel findings were bugs fixed in 1.104.4 while two describe behaviour that works as designed.
The useful takeaway does not depend on who wins those arguments. A tool that runs as root and accepts logins is worth switching off wherever you are not using it, and access rules that let everyone reach everything turn one lost laptop into a network problem. Both were true before 24 October.
Tailworm and Tailscale SSH questions
What is Tailworm?
Tailworm is the name of a security report published on 24 October 2026 by Erica Windisch of Cyberdione Labs, listing 11 vulnerabilities in Tailscale 1.104.2 and headscale 0.29.5. The most serious, in Tailscale SSH, let a normal SSH login reach root-only services on the target machine. The researcher showed in a lab how that could be chained from machine to machine.
Is there a patch for the Tailscale SSH vulnerabilities?
Yes, for most of them. Tailscale released version 1.104.4 on 28 October 2026, covering four security bulletins (TS-2026-014 to 017) dated 26 October: SSH socket forwarding as root, unbounded SSH memory use, Serve reaching privileged sockets, and Serve passing the wrong app capabilities. None has a CVE number. Versions 1.104.5 to 1.104.7 followed between 2 and 12 November, with no further Tailworm fixes listed. By the researcher's tally on 28 October, one finding (9) was still open and one (10) had no change planned. Update to 1.104.4 or later and check Tailscale's bulletins page.
Am I affected if I use Tailscale but not Tailscale SSH?
Not by the SSH findings, which are the serious ones. Tailscale SSH is a separate feature that has to be switched on per machine. If you log in with ordinary OpenSSH over your tailnet, or use Tailscale only for subnet routing, exit nodes or Funnel, the forwarding bugs do not apply. A few of the other findings concern specific Serve set-ups and headscale.
Is Tailworm really a worm?
That is disputed. The report says the chain spread automatically in a lab to every machine the SSH rules allowed. Commenters, including security researchers on Hacker News, argued it is not wormable in the usual sense, because every hop needs Tailscale SSH on and a rule permitting it. A Tailscale engineer added that the hosted service hides machines from peers with no policy path to them. Nobody has reported it spreading in the real world.
Was this a responsible disclosure?
Not a coordinated one. The researcher wrote on Hacker News that the issues were reported to Tailscale but the disclosure was not coordinated, and press reports say the report and proof of concept went to Tailscale's security contact shortly before publication. Earlier Tailscale SSH bugs in 2026 went through the normal private process and were fixed before they were announced.
Does Tailscale SSH check mode protect me?
Partly. Check mode makes a person re-authenticate in a browser before an SSH session opens, which raises the bar for an attacker using a stolen device. The report says it does not fix the forwarding bugs themselves, and on headscale a session approved through check still gets forwarding. Switching Tailscale SSH off where you do not need it is the stronger step.
Should we stop using Tailscale?
We would not, on this evidence. Every serious finding needs an attacker to already control a device inside your tailnet, and most of the risk goes away by turning off Tailscale SSH where OpenSSH will do and tightening the rules you keep. Tailscale itself says it is not recommending that everyone disable Tailscale SSH. It has fixed earlier SSH bugs this year through its normal process, and shipped fixes for most of this batch in 1.104.4.
Sources & further reading
The guidance on this page is grounded in primary sources. Follow the links to read them in full.
- Tailworm: Security Assessment Report
The researcher's report: the eleven findings, the versions tested and the lab chain.
- Tailscale: Security bulletins
The four bulletins, TS-2026-014 to 017, dated 26 October 2026, all fixed in 1.104.4, with no CVE or severity. TS-2026-018 (12 November) is a separate Kubernetes operator flaw.
- Tailscale: Tailscale SSH investigation and remediation update
Tailscale's own statement of 26 October 2026: the target release date, the forwarding setting, and its advice not to disable Tailscale SSH everywhere.
- Tailscale: changelog
Version 1.104.4 (28 October 2026) with the four fixes, then 1.104.5 (2 November) to 1.104.7 (12 November 2026).
- Tailscale: Route SSH forwarding through the privileged monitor (PR #21942)
The fix for the headline forwarding bug, merged to the development branch on 26 October 2026 and copied to the 1.104 release line on 27 October.
- Tailscale: Fix serve app caps leaking across mounts (PR #21931)
The fix for finding 11, merged on 25 October 2026.
- Tailscale: Refuse serving TCP to the tailscaled socket (PR #21966)
The fix for finding 7, merged on 27 October 2026.
- Hacker News: Tailworm discussion
The researcher's note that disclosure was not coordinated, a Tailscale engineer's reply, and the dispute over the worm claim.
- headscale: releases
Version 0.29.7 (30 October): bounded pending authentications and other limits, citing Tailworm, and advice to update Tailscale clients to 1.104.4 or later.
- Tailscale KB: Tailscale SSH
How the feature is switched on and off, and which platforms can run the server.
- Tailscale KB: Policy file syntax, SSH rules
How SSH rules, check mode and check periods are written.
- Tailscale KB: Device approval
Requiring an admin to approve new devices before they join.
- Tailscale KB: Auth keys
Reusable and one-off keys, expiry, and why revoking a key leaves joined devices in place.