If you use Tailscale to replace a bastion host, there is a good chance SSH is the part you turned on first. That is the component at the centre of "Tailworm", the name Cyberdione Labs gave to eleven flaws it found in Tailscale and the self-hosted headscale control server, as BleepingComputer reported on 27 October.
What was found
The researchers audited Tailscale 1.104.2 and headscale v0.29.5. The report says the details were published while the issues were still unpatched, and that Tailscale aimed to ship a fixed client by the end of Tuesday 27 October. The write-up we read carries no CVE numbers or CVSS scores, so treat any you see quoted elsewhere with care until you can match them to the vendor advisory.
- Tailscale SSH. Unix-socket forwarding (
ssh -Rand-L) does its path checks and file operations as root. Races, plus a missing privilege drop, let an ordinary session replace, dial or delete things it should not touch. The outcomes listed are root code execution, theft of enrolment keys and deletion of arbitrary root-owned files. - App connectors (conn25, experimental). Traffic goes to attacker-chosen destinations without validation, and ACLs are never checked against the real destination. Cloud metadata endpoints and, in Kubernetes, cluster services become reachable.
- headscale. Unauthenticated resource exhaustion that can put the control server into a crash loop and stop new devices joining.
- DERP client. A malicious relay can make the agent read without bound and run out of memory.
- tailscale serve. A TCP forward to a Unix socket lacks a guard the HTTP path has, which can expose the node's administrative API.
The bar for the SSH issue is low
Per the report, exploitation needs one approved device and one SSH policy rule. That is not an exotic precondition; it is the normal state of anyone who has used the feature. Tailscale itself described the SSH problems as mostly privilege escalation, including possibly beyond the local account a user is mapped to. It does not recommend everyone switch SSH off.
What to do today
- Update the client as soon as the patched build lands, and check the version on servers as well as laptops. Server agents are the ones that get forgotten.
- If you do not use socket forwarding, set
TS_SSH_DISABLE_FORWARDING=1in the tailscaled service environment and restart it. Tailscale says this mitigates several of the more serious findings. - Read your SSH rules with fresh eyes. Who can reach production, from which devices, as which user? Narrow anything broader than it needs to be.
- If you run headscale, put the control server behind something that rate-limits unauthenticated requests until a fix ships.
- Leave experimental connectors off in production.
The wider lesson
Overlay networks are sold as removing the perimeter, which means the agent on every host becomes part of the perimeter. It runs as root, parses traffic from other machines and is rarely in anyone's patch inventory. Put it there. If you want a hand building that inventory, email sales@halfteck.com.
Sources: BleepingComputer, 27 October 2026; The Hacker News, 28 October 2026.