tailscale.com is vulnerable to Privilege Escalation
85
CVE Score
High
Privilege Escalation
Tailscale SSH's Unix-socket forwarding handlers perform bind, unlink, permission-change, and dial operations inside the root-privileged tailscaled process. An authenticated peer admitted by an SSH policy rule with forwarding enabled can reach root-only sockets, replace root-owned sockets, or race path validation to bypass the socket-path allowlist, potentially gaining root-equivalent access on the target node. The fix runs forwarding operations and Unix-socket payload relays in child processes with the authenticated local user's credentials, creates sockets with restrictive permissions, and only unlinks sockets owned by that user.
Upgrade Tailscale to the patch version or a newer fixed release. Until you can upgrade, set TS_SSH_DISABLE_FORWARDING=1 in the tailscaled service environment and restart the service to disable SSH forwarding.
You are affected if you are using a version that falls within the vulnerable range, Tailscale SSH is enabled on a Linux or Unix host, and an SSH policy rule permits an attacker-controlled device to connect with local or remote forwarding enabled. The attacker must already control a policy-authorized peer.
1.98.0 - 1.104.2
Fixed in 1.104.4tailscale.com is vulnerable to Privilege Escalation in versions 1.98.0 - 1.104.2.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.