Sheet 01Network securityRev. Oct 28, 2026
Tailworm: what the Tailscale SSH report really says, and what to lock down
Tailscale joins your laptops, phones and servers into one private network. A security researcher has published a report she calls Tailworm, with 11 findings in Tailscale and in headscale, an open source server that can stand in for Tailscale's own. The headline claim: on a network where one device has been hacked, the attacker can become root, the all-powerful administrator account, on other machines. Here is what that means, what it takes, and what you can do today.
The short version
Tailscale has an optional feature, Tailscale SSH, that lets your devices log in to each other under rules you write. The report says a user allowed in as an ordinary account can use SSH forwarding to reach a program running as root on that machine, and become root. It is not a break-in from the internet: the attacker first needs a device already on your network and a rule that lets it in. Tailscale has confirmed the SSH problem and fixed it, with three of the Serve bugs, in Tailscale 1.104.4, released on the evening of October 27. If you use Tailscale SSH, update every machine that runs it.
01What happened
Over the weekend of October 24 and 25, 2026, Erica Windisch of Cyberdione Labs published "Tailworm" at tailworm.com. It describes 11 numbered findings from lab testing between October 22 and 24 against Tailscale version 1.104.2 and headscale version 0.29.5. The researchers say they are not associated with or paid by Tailscale.
The findings cover Tailscale SSH, Tailscale Serve and Funnel (features that publish a service from one of your devices), an experimental connector feature, the client that talks to Tailscale's relay servers, and headscale. Six are rated High in the report. The report does not say whether Tailscale was told before it went public, which is the usual practice, called coordinated disclosure, that gives a company time to ship a fix first. Tailscale's own account says it received the report on the morning of Saturday, October 24, about two hours before it was published.
The story spread fast on X. A post from International Cyber Digest summarizing it passed 740,000 views by Sunday afternoon, alongside posts urging people to turn Tailscale off and others calling the report overblown.
On October 28 Tailscale published its response. It confirms that an authenticated Tailscale SSH session could, under certain conditions, do more than its local user account should, including through forwarding. The flaw was in the permissions applied after a login was allowed, not in the checks that decide who may log in. It says three of the report's five Serve and Funnel findings were bugs and two describe intended behavior, and that the experimental connector isn't in any released version. It also rejects the word "worm": the spread is limited to connections your policy file already allows. Four security bulletins, TS-2026-014 to 017, cover the confirmed bugs, and all are fixed in version 1.104.4.
02How it works
A tailnet is your private Tailscale network. Devices on it can reach each other as if they were on the same office network, wherever they are, and strangers on the internet can't reach them at all.
SSH is the standard way to log in to a server's command line. Normally a server checks your SSH key. With Tailscale SSH, Tailscale itself vouches for who is connecting, and a section of your tailnet's policy file decides which devices may log in to which machines, and as which user accounts. It is opt-in: it only runs on a device where someone has run tailscale set --ssh.
SSH can also forward connections: pass traffic from your end through the login to something on the server. The report's main finding is that when forwarding is allowed, an ordinary user can point it at a local socket (a sort of private doorway into a program) belonging to a program that runs as root, and end up with root's powers. From that machine, the attacker can repeat the trick on every machine its own rules allow. That is the "worm" in Tailworm: it spreads, but only along paths your policy already opens.
Try it: a simplified tailnet
Pick the hacked device, then change the rules.
- Hacked
- Attacker is root
- Ordinary user only
- Out of reach
The other findings are narrower. Several concern Tailscale Serve and Funnel, the experimental connector, and memory exhaustion that could crash a headscale server. Each needs its feature turned on. On headscale 0.29.5, the report says, forwarding is granted on every SSH session and can't be switched off, so it advises treating any SSH permission there as root until a fix ships.
03What an attacker needs first
- A device already on your tailnet. A hacked laptop, a compromised server, a stolen login.
- Tailscale SSH switched on for the machine being attacked. It's off unless someone opted in.
- A rule letting that device log in, with forwarding allowed.
None of that comes from the open internet. That's why some engineers called the "Tailscale got hacked" framing misleading. It's also why the report still matters: many people turn Tailscale SSH on everywhere with broad rules, which turns one bad device into a bad network.
04What the code shows
Tailscale's client is open source, so its fixes are public before they ship. Its main branch history, read through GitHub's API for this page, shows the pace. Between 18:32 UTC on October 24 and 18:31 UTC on October 25, 17 commits landed that reference the same internal ticket. By 03:08 UTC on October 26 there were 21, and by 03:07 UTC on October 27 there were 36. Most harden Tailscale SSH.
One of them, 566f89e0f, fixes a race where two requests sharing one connection to Tailscale Serve could carry each other's permission header. That matches finding 11 in the report. The code alone doesn't show which other commits respond to which findings, and the internal ticket isn't public.
The newest, eba00ab36, by Tailscale engineer James Tucker, goes at the report's main finding. Its description says forwarded sockets are now "dialed and bound by children with the authenticated local user's credentials, never by root tailscaled." In plain words: the connection is made as the user who logged in, so the operating system's normal permission checks stop an ordinary user from reaching root's sockets. Its tests include a link pointing at a root-only file and a race that swaps folders mid-request, and both must fail. Two commits in the hours before it built the pieces it uses.
Later on October 26, two more commits extended the same change to the other kinds of forwarding. 6072693e9 keeps a forwarded Unix connection inside the user's own process, so the program on the other end sees the user, not root. 87f3b61f3 does the same for ordinary TCP forwards (ssh -L and -D), which are now connected "with the authenticated local user credentials instead of the root daemon."
Then, at 00:52 UTC on October 27, Tailscale engineer Sam Jean committed 713be260c, which matches finding 7 in the report ("serve --tcp to the localapi socket"). Its description says tailscale serve could be pointed at Tailscale's own control socket, giving another device on the tailnet a connection that "could change the node's settings." Tailscale Serve now refuses that setup. Its commit cites a separate internal ticket.
On October 27 at 9:05 pm Eastern, Tailscale published v1.104.4, the first release after the one the researcher tested. Its bulletins line up with the commits: TS-2026-014 is the forwarding bug ("could grant peers access to root-only sockets"), TS-2026-016 is finding 7, and TS-2026-017 is the permission-header race that matches finding 11. TS-2026-015 is a memory exhaustion bug in Tailscale SSH sessions. None of the four bulletins credits the researcher.
05Reactions
"serious, but propagation follows ssh policy. this concerns tailscale's opt-in ssh server, not ordinary openssh."
"This is not about unauthenticated attackers breaking into random Tailscale nodes. It's what attackers can do after gaining authorized SSH access or compromising an already trusted device."
Argued for setting up WireGuard directly instead of Tailscale, which is built on it, to keep the attack surface small.
06Timeline
- Tailscale bulletin TS-2026-004: Tailscale SSH socket forwarding ignored symlink permissions. Fixed in 1.98.9. An earlier bug in the same area.
- Bulletin TS-2026-009: usernames starting with a dash could get root over Tailscale SSH. Fixed in 1.98.9.
- Tailscale 1.104.2 released.
- The researchers test Tailscale 1.104.2 and headscale 0.29.5 in their lab.
- The Tailworm report circulates on X. 17 commits referencing one internal ticket land on Tailscale's main branch, including a fix matching finding 11.
- This page went up.
- Commit eba00ab36 moves Tailscale SSH forwarding off root on Tailscale's main branch.
- More fixes land on the main branch: TCP and Unix forwards run as the logged-in user, and Tailscale Serve refuses to forward to Tailscale's own control socket (finding 7). 36 commits now reference the same internal ticket.
- Tailscale 1.104.4 released, with security bulletins TS-2026-014 to 017 (dated October 26).
- Tailscale publishes "Tailscale SSH: Findings and fixes", confirming the SSH flaw and three Serve bugs. headscale has no release since October 24.
- headscale 0.29.7 released.
07What to do
- Update to 1.104.4 or newer. Do it first on every machine where Tailscale SSH is on. That release fixes the forwarding bug, the memory exhaustion bug and the Serve bugs Tailscale confirmed.
- Don't use Tailscale SSH? The main finding doesn't apply to you. Regular SSH over Tailscale isn't the feature in question.
- Turn it off where you don't need it. On each such device:
tailscale set --ssh=false. Make sure you have another way in first. - Narrow the rules. In your policy file's SSH section, replace "any device to any server" with specific users on specific machines, and keep root off the list. The report also suggests setting forwarding to false in rules that allow it. For sensitive machines, Tailscale suggests SSH check mode, which asks for a fresh sign-in before a login goes through.
- Turn on Tailnet Lock. It requires every new device to be signed by one you already trust, so nobody can quietly add a device to your network.
- Can't update yet? Start
tailscaledwith the environment variableTS_SSH_DISABLE_FORWARDING=1on that machine and restart it. Tailscale's bulletin gives this as the stopgap: it turns off forwarding without turning off Tailscale SSH. - Running headscale? Update the Tailscale apps on your devices to 1.104.4 as well, since the SSH fixes live there. Then update headscale itself to 0.29.7, released October 30. Its notes say the SSH fixes run on each device, so updating headscale alone won't apply them. They also give a stopgap for devices you can't update yet: set
TS_SSH_DISABLE_FORWARDING=1for tailscaled and restart it. - Using Tailscale Serve with
--tcp? Check that no serve rule points at a Unix socket you don't recognize, especiallytailscaled's own. 1.104.4 refuses that setup.
08Questions people are asking
Was Tailscale hacked?
No. The report describes bugs found in a lab, not an attack on Tailscale's company or its servers. The attacks it describes start from a device that's already on your network.
Can a stranger on the internet use this against me?
Not directly. They'd first need to control a device on your tailnet, through malware, a stolen login or a vulnerable server, plus an SSH rule that lets that device in.
Should I uninstall Tailscale?
The main finding is about the optional Tailscale SSH feature. Turning that off where you don't need it, and narrowing your rules where you do, removes the path it describes without giving up the private network.
What is headscale?
An independent, open source, self-hosted version of Tailscale's control server, the service that tells your devices about each other. People who don't want to rely on Tailscale's hosted service run it themselves. The report found separate issues in it.
What is coordinated disclosure, and did that happen here?
It's the norm of telling a vendor privately and giving it time to fix a bug before publishing. The report doesn't say whether Tailscale was notified in advance. Tailscale says it received the report on the morning of October 24 and the researcher published it about two hours later, so there was no time to fix anything first. The fixed release came about three and a half days later.
Would plain WireGuard be safer?
WireGuard on its own has no SSH feature like this, and less software in the middle. You give up Tailscale's automatic setup and access rules, and you have to manage keys and connections yourself. It's a trade-off, not a free win.
09Updates
- headscale released version 0.29.7, a security release that its notes say fixes findings from the Tailworm report and Anthropic's oss-scanner project. "None are critical," the notes say, "but some can cause denial of service." It caps stored pending registrations and stops showing metrics to unregistered clients. The maintainers ask everyone to move to 0.29.7 and Tailscale 1.104.4 or newer as soon as possible. The SSH fixes still run in each device's tailscaled, so devices need updating too. What to do is updated.
- headscale's maintainers merged the notes for their next version, 0.29.7, into its changelog (pull request 3603), though it isn't released yet. It recommends everyone move to headscale 0.29.7 and Tailscale 1.104.4 or newer, "especially those using Tailscale SSH," explains that the SSH fixes run in each device's tailscaled, so upgrading headscale alone doesn't apply them, and repeats the
TS_SSH_DISABLE_FORWARDING=1stopgap. The same release fixes 12 headscale issues found by Anthropic's oss-scanner tool. The headscale advice in What to do is updated. - The fix shipped. Tailscale released version 1.104.4 on the evening of October 27 with four security bulletins (TS-2026-014 to 017): the SSH forwarding bug, a memory exhaustion bug in SSH sessions, Serve reaching Tailscale's own control socket (finding 7), and the Serve permission-header race (finding 11). In a blog post on October 28, Tailscale confirmed the SSH flaw, said two of the five Serve and Funnel findings are intended behavior, rejected the "worm" label, and said it got the report about two hours before it was published. headscale has no new release. What to do is rewritten around updating, with changes to the short version, What happened, the timeline and the disclosure question. Sources: Tailscale's releases, bulletins and blog, headscale on GitHub.
- Tailscale kept fixing on its main branch. Two commits make ordinary TCP forwards and Unix socket forwards run as the user who logged in, not as root (87f3b61f3, 6072693e9). A third, 713be260c, fixes the report's finding 7: Tailscale Serve could be pointed at Tailscale's own control socket, letting another device change the machine's settings. 36 commits now reference the same internal ticket. There's still no release or security bulletin, so the steps in What to do still apply, plus a new one for Serve. A post on X said tailworm.com had been taken down; it is still up. Sources: Tailscale's GitHub commits and releases, tailworm.com.
- Tailscale committed a fix aimed at the report's main finding: commit eba00ab36 (03:08 UTC) makes Tailscale SSH open forwarded sockets as the logged-in user instead of as root, so an ordinary account can no longer reach root-only sockets that way. It isn't in a release yet: the newest is still 1.104.2, and Tailscale's security bulletins page has nothing on Tailworm. Until a release ships, you can switch forwarding off on a machine with the
TS_SSH_DISABLE_FORWARDING=truesetting, which 1.104.2 already has. That is now in What to do, and the commit count is updated. Sources: Tailscale's GitHub commits and releases. - This page went up. It covers everything known as of October 25, 2026.
10Sources
- Tailworm report, Erica Windisch, Cyberdione Labs
- Tailscale SSH, Tailscale docs
- Tailnet Lock, Tailscale docs
- Security bulletins TS-2026-014 to 017, Tailscale
- Tailscale SSH: Findings and fixes, Tailscale blog, October 28, 2026
- Tailscale v1.104.4 release, GitHub
- tailscale/tailscale commit history and releases, GitHub
- Commit eba00ab36: route SSH forwarding through the privileged monitor, GitHub
- Commit 87f3b61f3: dial TCP forwards as the bound user, GitHub
- Commit 6072693e9: relay Unix forward payloads as the bound user, GitHub
- Commit 713be260c: refuse serving TCP to the tailscaled socket, GitHub
- Commit 566f89e0f: fix serve app caps leaking across mounts, GitHub
- headscale, GitHub
- headscale 0.29.7 release notes, GitHub
- International Cyber Digest post, X