Critical SSH Vulnerabilities in Tailscale Could Let Attackers Gain Root

Security researchers have uncovered a series of serious flaws in Tailscale SSH that could allow an attacker who compromises just one device to escalate privileges to root across an entire fleet of servers.

What’s at Risk

The report—named Tailworm—was published on October 25, 2026, by Erica Windisch of Cyberdione Labs. It details 11 vulnerabilities grouped into five categories affecting several parts of Tailscale: its SSH server, the app connectors, the DERP relay client, and headscale (an open-source controller). Testing was conducted on Tailscale version 1.104.2 and headscale 0.29.5 between October 22–24. No official fixes, CVE numbers, or security advisories had been released by Tailscale as of the report’s publication.

How Attackers Can Exploit These Flaws

The most alarming issues stem from Tailscale SSH running with root privileges. For example, local socket forwarding (ssh -L) grants root access to sockets normally restricted to root only—allowing attackers to read sensitive files like /etc/shadow. Remote forwarding (ssh -R) similarly lets attackers replace root-owned sockets, opening doors for remote code execution. Attackers can also abuse race conditions, granting them unintended access or network membership without needing credentials.

Other vulnerabilities span app connectors that permit access to cloud metadata services or Kubernetes endpoints, unprotected memory exhaustion in headscale, and misconfigurations in Tailscale’s “serve” feature that expose admin APIs or allow symlink attacks. Several of the flaws are rated “high”; the rest range from medium to configuration concerns depending on usage.

Attack Spread & Why This Matters

Tailscale creates a mesh network where devices trust each other under defined policy rules, and each machine holds a full list of peer devices. Thus, an attacker who gains a foothold on one system could pivot to root access on others in seconds—without needing stolen keys or passwords. In a lab test, one compromised device not only rooted others but also enrolled a rogue node masquerading as trusted.

This approach assumes that trusted devices are entirely safe—an assumption the report argues is fragile. In contrast, per-pair rules—specific rules that define source and destination devices—were the only control shown to fully stop the lateral movement in testing. Broader rules based on identity or group tags were insufficient.

No Fixes Yet—What You Can Do Now

With no patch officially released, system administrators are urged to take mitigating steps immediately:

  • Replace broad SSH permissions (identity-wide or tag-wide) with per-pair rules naming explicit source and destination.
  • Deny forwarding wherever rule definitions allow it—especially socket forwarding.
  • On headscale 0.29.5, assume every SSH grant is equivalent to root due to the inability to disable forwarding.
  • Disable Tailscale SSH entirely where it’s not needed using tailscale set --ssh=false, but ensure there’s another path to access the device beforehand.
  • Revoke unnecessary app connector permissions and server “serve” forwards to sockets.
  • Ensure node-key expiry settings are enabled, and remove devices from the control plane immediately if compromise is suspected—as reimaging alone won’t revoke keys already copied.

The report also notes that Tailscale had fixed a related SSH vulnerability earlier in July 2026 involving names starting with a dash, which allowed users to bypass ACLs and gain root in violation of access controls. That fix was in Tailscale version 1.98.9.

Big Picture: What This Reveals

These findings draw attention to design trade-offs in Tailscale SSH’s architecture. Traditional SSH (like OpenSSH) separates privileged processes from user-level ones, dropping root rights early. Tailscale’s approach keeps a root-privileged daemon in charge longer, increasing risk when policy rules or forwarding permissions are overly permissive.

Until official patches are published, the danger from broad SSH rules and exposed sockets must be taken seriously. What started as a compromise on one machine could now be a launchpad into your entire infrastructure.

Your dailytechfeed take: Tailworm isn’t just another security report—it’s a red flag for all organizations using Tailscale SSH. The way forward hinges on rigorous rule definitions, minimal permissions, and urgent review of network assumptions. Keep a close watch for Tailscale’s response and patch deployment—your entire device fleet may depend on it.