Skip to content
← All news
4 min read

Tailworm: Tailscale SSH forwarded sockets as root. Version 1.104.4 fixes it

Cyberdione Labs published 11 findings against Tailscale v1.104.2 and headscale v0.29.5 before any patch existed. Tailscale v1.104.4 makes SSH socket forwarding run as the logged-in user instead of root. Until a node is updated, one environment variable turns forwarding off and leaves Tailscale SSH on.

The report reached Tailscale on Saturday morning, October 24. It went public two hours later, with no fix out.

Tailscale has released client v1.104.4 to fix the Tailscale SSH and Serve bugs in four security bulletins, TS-2026-014 to TS-2026-017, all dated October 26, 2026. The bugs come from Tailworm, a report by Erica Windisch of Cyberdione Labs.

The report lists 11 findings against Tailscale v1.104.2 and the self-hosted headscale v0.29.5 control server, and rates six of them high. Per Tailscale's findings post, the report reached its team on the morning of Saturday, October 24, and the researcher published it two hours later. No fix existed yet. The bulletins list no CVE IDs, and no source we read reports exploitation outside the researchers' lab.

SSH checked the socket path, then opened it as root

Per TS-2026-014, Tailscale SSH checked Unix socket paths by name but did the forwarding as root. A session allowed to forward could reach root-only sockets, such as the Docker socket or the tailscaled local API. The v1.104.4 changelog says Tailscale SSH now:

performs Unix socket forwarding on behalf of the authenticated user rather than as root
Tailscale changelog, v1.104.4

TS-2026-015 is a denial of service. Repeated window-change messages and environment appends grew memory that stayed allocated after disconnect, until tailscaled could be OOM-killed. It needs an authenticated session that policy permits.

Serve had the same root-socket path

Per TS-2026-016, `tailscale serve` dialed Unix socket backends as root, and checked symlinks only when the config reloaded. A local user who could write a Serve config or a backend path could reach privileged sockets, the local API included. The fix revalidates the path on every connection. TS-2026-017 is an HTTP/2 race: with Serve TLS and two mounts with different capability rules, one mount's Tailscale-App-Capabilities header could reach the other mount's requests.

The attack starts on a device the tailnet already trusts

The report's main attack class needs one approved device and one SSH policy rule that allows forwarding. The report says the foothold comes first, from something like an exploited web app or phishing. Tailscale's post says the bugs do not let an unauthenticated attacker connect to arbitrary Tailscale SSH servers. On the hosted control plane, forwarding is a per-rule setting. On headscale v0.29.5, the report says forwarding is granted on every accepted session and cannot be turned off, so its advice is to:

treat every headscale SSH grant as root-equivalent
Tailworm report, Cyberdione Labs

Until the upgrade, turn off forwarding, not Tailscale SSH

Tailscale's investigation update says to set TS_SSH_DISABLE_FORWARDING=1 in the tailscaled service environment and restart the service. That disables SSH forwarding, keeps Tailscale SSH running, and covers several of the more serious findings, per Tailscale. It also says to tighten SSH policies, and does not advise everyone to disable Tailscale SSH. This is a different issue from TS-2026-009 in July, which was fixed in v1.98.9. A node on v1.98.9 or later but below v1.104.4 is still exposed here.

What is not confirmed

Several outlets date the report October 25. Tailscale's timeline puts it on October 24. For headscale, the report's summary describes an unauthenticated crash loop on internet-reachable servers. Its detailed finding says the memory growth needs an authenticated insider, while a separate pre-auth issue blocks new devices from joining. The headscale release notes through v0.29.6 do not mention Tailworm, and Tailscale's post does not mention headscale.

Why a build studio cares

Our reading: the dangerous line was in the access policy, not the login. A broad SSH grant looks like permission to log in as a normal user. With forwarding on, it was also permission to talk to root-owned sockets, and the Docker socket is root in all but name. v1.104.4 closes that path, but the grant still sets how far one stolen laptop, or one compromised agent runner with a tailnet identity, can go. We build AI workflows and custom agents for clients, and a host running an agent is one more approved device. Listing what each grant actually reaches is the access part of a software audit.

# On each node: fixed in 1.104.4 or later
tailscale version

# Update (v1.36+ on supported Linux distros)
sudo tailscale update
# or through the package manager, e.g. Debian/Ubuntu
sudo apt-get update && sudo apt-get install tailscale

# Until a node is updated: keep Tailscale SSH, turn forwarding off
# The systemd unit reads /etc/default/tailscaled
echo 'TS_SSH_DISABLE_FORWARDING=1' | sudo tee -a /etc/default/tailscaled
sudo systemctl restart tailscaled

Next step: run `tailscale version` on every node with Tailscale SSH on, update the ones below 1.104.4, and replace any group-wide SSH rule with source-to-destination pairs. If you want a second read of your policy file, write to us at hello@gattyworks.com.

SecurityTailscaleSSHOpen SourceTailwormTailscaleHeadscaleTailscaleSSHCyberdioneLabsZeroTrustPrivilegeEscalationSSHDevOpsCyberSecurity

Ready to know?

Send what you want checked or built. Fixed scope, price, and date in writing inside 24 hours, or the website or audit fee on your first project is refunded in full.

24 clock hours. Weekends included.
Book a call