Tailscale 1.104.4 is out. Update if you use Tailscale SSH

7 min read #security #self-hosting #tailscale

Tailworm is a root ladder in Tailscale SSH Unix-socket forwarding, not unauthenticated internet RCE. Fixed in 1.104.4. How to check, mitigate, and upgrade, including the Docker Hub lag.

19-inch rack with managed Gigabit Ethernet switches connected to patch panels with Cat 6 cables
Photo: Dsimic, CC BY-SA 4.0, via Wikimedia Commons

If you followed the usual advice after Plex2Shell and put media or admin boxes behind Tailscale instead of a forwarded port, keep Tailscale. Just don't treat the mesh as finished security work. Anyone who turned on Tailscale SSH (the embedded SSH server inside tailscaled, not OpenSSH over a tailnet IP) needs 1.104.4 this week.

In short: Cyberdione Labs published Tailworm against Tailscale 1.104.2. The headline bug is that Tailscale SSH's Unix-socket forwarding ran as root inside tailscaled, so an already-authorised session could reach things like the Docker socket or the local Tailscale API. It is not unauthenticated internet RCE, and it is not a classical worm. Update to 1.104.4, or set TS_SSH_DISABLE_FORWARDING=1 on tailscaled until you can. Docker Hub still hasn't shipped the v1.104.4 image as I write this, so container users need the env var now.

Jump to: What actually broke · Who needs to move · Check and mitigate · Upgrade · Policy after the patch

What actually broke

Erica Windisch at Cyberdione Labs tested unmodified Tailscale 1.104.2 and headscale 0.29.5 between 22 and 24 October 2026 (AEDT). The report landed on the 24th. Tailscale had already started looking on the 23rd after social posts, got the report that Saturday morning, and shipped 1.104.4 with four bulletins: TS-2026-014, TS-2026-015, TS-2026-016 and TS-2026-017. Mike Shaver's findings and fixes post is the clean vendor summary.

The shareable bit is TS-2026-014. Tailscale SSH validated Unix-socket paths lexically, then dialled, bound or unlinked them as root. Local forward (ssh -L), remote forward (ssh -R), and a TOCTOU race against the path allowlist. An authenticated peer that policy already allows to SSH in, with forwarding allowed, could reach root-only sockets. Tailscale's own wording of the impact is "root-only sockets such as the Docker socket or the tailscaled local API." Cyberdione's lab went further (Docker root, authkey capture, systemd private bus). Treat the lab chain as researcher-demonstrated; the vendor has confirmed the root-socket class without republishing exploit steps, and you shouldn't go looking for them.

TS-2026-015 is a memory DoS on the same SSH path: window-change churn and environment appends that kept growing after disconnect and could OOM root-privileged tailscaled, which takes the whole node's Tailscale networking with it. TS-2026-016 covers tailscale serve TCP-forward to Unix backends missing the guard the HTTP path already had, plus a symlink TOCTOU on HTTP proxies. TS-2026-017 is an HTTP/2 capability-header bleed across serve mounts. All four are fixed in 1.104.4.

Tailscale is clear that this is not a worm and not internet RCE. Exploitation needs a foothold on a peer that policy already allows to SSH to the target, plus the conditions to exercise the bug. Lateral movement, bounded by your ACL. The scary name is doing a lot of work that the mechanics don't.

A few scope notes that save panic:

  • OpenSSH over a Tailscale IP is a different path. These bugs sit in Tailscale's embedded SSH server.
  • Windows and the macOS App Store / GUI clients don't run a Tailscale SSH server. They can still be the source device if your policy lets them SSH into a Linux box.
  • Synology: Tailscale's docs say Tailscale SSH does not run there. Update the package when you can for the other bulletins, but TS-2026-014 needs Tailscale SSH on somewhere else in the tailnet.
  • Check mode does not fix forwarding. It gates session start. Forwarding happens inside an already-approved session.

No CVE IDs are on the bulletins. Use the TS-2026-014…017 numbers until NVD catches up, if it does.

Who needs to move

Patch today if any node has Tailscale SSH on and is below 1.104.4, if you point tailscale serve at Unix sockets, or if you self-host headscale (especially 0.29.5) and grant Tailscale SSH.

On headscale 0.29.5, Cyberdione and Fleet both say SSH forwarding is granted on every accepted session and cannot be denied in policy. I haven't found an official headscale security advisory yet. Until one lands, treat every headscale SSH grant as root-equivalent on the destination, or turn Tailscale SSH off and use OpenSSH.

Lower urgency for desktop-only Windows / macOS / phone clients that never run the SSH server. Still update them. Production (non-conn25) app connectors are not affected, per Tailscale; Conn25 is pre-production and hasn't shipped.

Mesh-only tailnets that never enabled Tailscale SSH are outside the headline issue. You're still fine to keep using Tailscale the way the Plex2Shell post suggested: as the VPN, with normal SSH if you want a shell.

Check and mitigate

Admin console is the easy pass for people who don't live in SSH: Machines → Version column, filter "Update available". A security update shows as a red arrow.

On a Linux box with the CLI:

# Client version
tailscale version

# Tailscale SSH status
tailscale debug prefs 2>/dev/null | grep -i runssh
# or:
tailscale status --json 2>/dev/null | grep -i '"RunningSSH"'

# Serve Unix-socket forwards
tailscale serve status

Interim mitigation, from Tailscale's 26 October investigation update and TS-2026-014: set TS_SSH_DISABLE_FORWARDING=1 in the tailscaled environment and restart. That kills forwarding without killing Tailscale SSH.

I'd use a systemd drop-in first, because it's the one you can see with systemctl show:

sudo mkdir -p /etc/systemd/system/tailscaled.service.d
printf '%s\n' '[Service]' 'Environment=TS_SSH_DISABLE_FORWARDING=1' \
  | sudo tee /etc/systemd/system/tailscaled.service.d/override.conf
sudo systemctl daemon-reload
sudo systemctl restart tailscaled
systemctl show tailscaled -p Environment

The packaged /etc/default/tailscaled path also works (EnvironmentFile=). I checked both styles on a disposable systemd unit: the variable reaches the process either way. The catch is that systemctl show -p Environment stays empty for the EnvironmentFile style, and the file shows under EnvironmentFiles= instead. An empty Environment= does not mean it failed. If you want to stare at the live process:

sudo tr '\0' '\n' < /proc/$(systemctl show -p MainPID --value tailscaled)/environ | grep TS_SSH

Docker compose:

environment:
  - TS_SSH_DISABLE_FORWARDING=1

Recreate the container, then docker exec <ctr> env | grep TS_SSH.

Don't need Tailscale SSH at all? sudo tailscale set --ssh=false and you're out of the TS-2026-014 blast radius.

Upgrade

Linux with Tailscale's apt/yum/dnf repo:

sudo tailscale update
# or:
sudo apt-get update && sudo apt-get install --only-upgrade tailscale
tailscale version

I checked this afternoon (28 October AEDT): the Debian package tailscale_1.104.4_amd64.deb on pkgs.tailscale.com returns HTTP 200, and the GitHub v1.104.4 release page does too. apt/dnf users should be able to pull it now.

Windows and macOS: current installer / App Store / Standalone zip, or tailscale update where that exists. Synology: grab the matching SPK from pkgs.tailscale.com/stable/ and Manual Install; Package Center copies lag. QNAP and TrueNAS: update the app or image, then confirm tailscale version from whatever shell the platform gives you. TrueNAS SCALE rides Tailscale's Docker image, which brings us to the annoying bit.

Docker Hub is still on 1.104.2. I re-checked before finishing this draft. Tag tailscale/tailscale:v1.104.4 is not on Hub (manifest unknown). Tags in the 1.104 series are v1.104, v1.104.1 and v1.104.2. Both :stable and :v1.104.2 resolve to digest sha256:b11583ad2e93e4671128538c88cf11f460444a5d7e449311dd1933a400ab849d and report 1.104.2. So the env-var mitigation is currently the fix for Docker users. Once v1.104.4 appears, pin it and recreate. Don't rely on in-container auto-update to survive a recreate.

Version check inside the image needs an entrypoint override, because the default command is containerboot:

docker run --rm --entrypoint /usr/local/bin/tailscale \
  tailscale/tailscale:stable version

Without --entrypoint, you get exec: "version": executable file not found in $PATH.

Alternatives while Hub lags: run Tailscale from the OS package on the host, or build from the v1.104.4 release.

Policy after the patch

1.104.4 closes the root dial/bind/unlink class. It does not rewrite a wide-open SSH ACL.

Tighten Tailscale SSH rules to per-pair grants (this laptop → that server), not autogroup:member onto a tag that covers the lab. Prefer non-root target users, knowing that on an unpatched node autogroup:nonroot is defence-in-depth only and does not stop the forwarding-as-root class. Turn on key expiry. If you care enough, look at Tailnet Lock.

On Tailscale SaaS, researchers and Tailscale's interim guidance talk about denying local/remote forwarding per SSH rule. The public policy-file docs were fuzzy on the exact field names as of late October, so I'm not inventing syntax here. Check the policy editor, or ask Tailscale support, rather than guessing YAML.

Audit tailscale serve status for Unix targets you didn't mean to leave up. tailscale serve reset clears them.

One incident note from Cyberdione I'd keep: if you ever suspect root on a Tailscale node, delete the device in the control plane. Reimaging alone does not revoke a stolen state or key file copy.

The rest of the report, briefly

Cyberdione labelled about 11 findings. Vendor bulletins cover the ones that matter for a typical home lab. Conn25 (finding 4) is pre-production and unreleased; Tailscale says addressing it is one reason it hasn't shipped, and today's stable app connectors are fine. Funnel attribute enforcement being CLI-only (finding 9) and TS_SERVE_ALLOW_ALL_INTERFACES (finding 10) are intentional / threat-model items, not bugs fixed in 1.104.4. Hostile DERP read bombs need you pointed at a hostile relay; stick to Tailscale-operated or known-trusted custom DERP.

"Wormable in under a second per hop" is a lab measurement under a policy that already grants SSH between nodes. Tailscale rejects the worm framing, and so should your incident write-up.

Nothing I've seen from Tailscale or Cyberdione claims confirmed in-the-wild exploitation outside lab reproduction. That can change. Patch anyway.

I'm still happy to tell people to put Plex and the admin UIs behind Tailscale instead of opening 32400. A mesh with a privileged daemon is still better than a public port. Patch the daemon like you patch Plex and PHP, keep the SSH policy tight, and don't confuse "on my tailnet" with "can't escalate."

DampSnag