← Back to blog

Tailscale Fixes Critical SSH Vulnerabilities Allowing Privilege Escalation

Tailscale has patched serious SSH flaws that could let attackers gain unauthorized root access to other connected servers. The vulnerabilities stem from improper handling of forwarded network connections within its privileged SSH service.

TL;DR

  • Tailscale released version 1.104.4 to patch critical SSH vulnerabilities.
  • Flaws allowed potential root-level access to other servers through compromised devices.
  • Attackers needed initial device access to exploit the privilege escalation issues.
  • Vulnerabilities existed in how Tailscale handled forwarded SSH connections with root privileges.
  • Organizations using Tailscale SSH should update immediately to mitigate risks.

Tailscale has addressed significant security flaws in its built-in SSH server that could allow malicious actors to escalate privileges across connected infrastructure. These vulnerabilities, present in how the platform forwards network connections, posed a risk of unauthorized root-level access to other servers.

The issues were resolved in version 1.104.4, which organizations should deploy immediately. Exploitation required initial compromise of a Tailscale-connected device, but could then lead to deeper penetration across trusted networks due to the privileged nature of Tailscale's SSH implementation.

Root Cause and Impact

  • The vulnerabilities resided in Tailscale's SSH connection forwarding mechanism.
  • Tailscale's background process handles these operations with root privileges, increasing potential impact.
  • Successful exploitation could grant attackers access to sensitive services and files normally restricted to root users.
  • The flaws specifically affected how network traffic was proxied between SSH sessions and backend services.

Exploitation Requirements and Mitigation

  • An attacker needed to first compromise a device within the Tailscale network to leverage these flaws.
  • The vulnerabilities did not allow remote code execution without prior system access.
  • Immediate upgrade to Tailscale version 1.104.4 is recommended for all users of the SSH feature.
  • Organizations should review their Tailscale configurations and monitor for unusual SSH activity patterns.

Sources

Sources

Security email updates

One digest email when we publish new security articles (TL;DR plus links to read more). Unsubscribe anytime from the message footer. See our Privacy Policy.

Tailscale Fixes Critical SSH Vulnerabilities Allowing Privilege Escalation — Agent Breach Blog | Agent Breach