One Hacked Device Can Now Give Attackers Root on Your Whole Tailscale Network
Emily Davis ·
Listen to this article~4 min
A single hacked device on your Tailscale network could give attackers root access to other servers. Learn how the attack works and what you can do to protect your business.
Imagine this: you've set up Tailscale to connect your servers securely, and everything feels locked down. Then one device gets compromised. Suddenly, an attacker can leap from that single machine to root access on other servers in your network. That's the unsettling reality uncovered by a security researcher this week.
The attack isn't some far-fetched scenario. It hinges on two common missteps: Tailscale SSH configured to allow port forwarding, and an attacker who already controls a device that your network's access rules permit to connect to the target. If those conditions align, it's a straight path to root.
### How the Attack Unfolds
Tailscale SSH is a handy feature that lets you manage SSH access across your tailnet without juggling keys. But when port forwarding is enabled, it can become a gateway for lateral movement. Here's the gist:
- An attacker compromises a single device (say, an employee's laptop or a poorly secured server).
- That device has Tailscale SSH with port forwarding enabled.
- The attacker uses the compromised device to forward traffic to other servers, bypassing network segmentation.
- Because Tailscale SSH often runs with elevated privileges, the attacker can escalate to root on the target server.
In other words, one weak link can unravel your entire network's security posture. And the kicker? These flaws are unpatched, meaning there's no official fix yet.
### Why This Matters for Your Business
If you're using Tailscale to connect remote teams or manage cloud infrastructure, this should raise red flags. Many organizations enable port forwarding for convenience—to access internal dashboards, databases, or legacy systems. But convenience often comes at a cost.
> "The moment you allow port forwarding, you're essentially giving attackers a pivot point. It's like leaving a spare key under the mat for every server in your network." — Security researcher
And it's not just about root access. Once an attacker has root, they can install backdoors, exfiltrate data, or move laterally to other critical systems. The blast radius is limited only by how much your network trusts that one compromised device.
### What You Can Do Right Now
Until a patch is released, you're not helpless. Here are practical steps to reduce your risk:
- **Disable port forwarding** if you don't absolutely need it. Review your Tailscale SSH configuration and turn it off where possible.
- **Implement least privilege** : ensure that devices and users have only the minimum access required. Avoid broad access rules that let any device reach any server.
- **Monitor for unusual activity** : set up alerts for unexpected SSH connections or port forwarding attempts. Tools like audit logs can help.
- **Segment your network** : even within Tailscale, use ACLs to limit lateral movement. Don't let one compromised device become a launchpad.
- **Stay updated** : keep an eye on Tailscale's security advisories for patches. Apply them as soon as they're available.
### The Bigger Picture
This isn't just a Tailscale problem—it's a reminder that security is a chain, and the weakest link often isn't the technology itself but how we configure it. Antidetect browsers and privacy tools can help protect your identity online, but they won't save you from misconfigured network access.
So take a hard look at your Tailscale setup today. Ask yourself: if one device fell into the wrong hands, how far could an attacker go? The answer might surprise you—and not in a good way.
Stay safe out there, and don't wait for a patch to tighten your defenses.