If you use Tailscale to remotely access your machines, especially for Claude Code or Codex, you should check your SSH configuration.
A new security report called Tailworm reveals multiple vulnerabilities in Tailscale and Headscale.
The most concerning issue involves Tailscale SSH. Under certain configurations, an attacker with access to one compromised device could potentially gain root access on other machines.
This isn't a case of anyone on the public internet being able to SSH into your devices. The main attack path requires an authorized connection, but overly broad SSH permissions could make the damage much worse.
Tailscale is investigating and doesn't currently recommend disabling Tailscale SSH for everyone.
Here's what you can do now:
Restrict SSH access to specific users and devices. Disable SSH forwarding if you don't need it (TS_SSH_DISABLE_FORWARDING=1). Turn off unused features like Tailscale SSH, Serve, and app connectors. Consider SSH check mode for sensitive machines. Keep automatic updates enabled.
If you're using Headscale, review SSH forwarding permissions carefully and consider memory limits for the control server.
No need to uninstall Tailscale. But now's a good time to review who can access what.
Research report: tailworm.com
