Cyber News BleepingComputer 1 month ago

Tailscale warns of SSH flaws allowing root privilege escalation

CN
CyberNew Threat Research Desk
• Original Reporting: BleepingComputer
CyberNew Threat Intel Assessment
Assessed Severity: HIGH
Impacted Surface
Cloud & Distributed Infrastructure
Intelligence Sector
Cyber News

Analyst Takeaway

"The Tailscale security team is working to patch almost a dozen security vulnerabilities that could be exploited to steal credentials, crash servers, gain root privileges, and more. Tailscale develops a software-defined mesh virtual private network (VPN) built on WireGuard that lets users connect computers, servers, and cloud instances from anywhere to the same encrypted mesh network ("tailnet")..."

Recommended Defense & Mitigation

  • Access Review: Audit administrative roles, enforce phishing-resistant MFA, and review privilege escalations.
  • Credential Rotation: Rotate high-privilege service credentials and tokens associated with impacted services.
Curated & Verified by CyberNew Threat Intelligence Desk Standard Defense Framework (NIST / MITRE ATT&CK)

Tailscale

The Tailscale security team is working to patch almost a dozen security vulnerabilities that could be exploited to steal credentials, crash servers, gain root privileges, and more.

Tailscale develops a software-defined mesh virtual private network (VPN) built on WireGuard that lets users connect computers, servers, and cloud instances from anywhere to the same encrypted mesh network ("tailnet") via direct peer-to-peer (P2P) connections.

Cyberdione Labs discovered 11 flaws (collectively known as Tailworm) that still lack patches during a security audit of Tailscale 1.104.2 and the self-hosted headscale v0.29.5 control server.

Component / feature Mechanism (what breaks) Attacker requirement Principal outcome
Tailscale SSH (tailscaled's embedded SSH server, running as root) Unix-socket forwarding (ssh -R/-L) performs path checks and file operations as root; races and missing privilege drop let an ordinary session replace, dial, or delete privileged resources One approved device + one SSH policy rule (forwarding granted automatically on headscale; per-rule on SaaS) Root execution on target servers; capture of enrollment keys; arbitrary root-file deletion
Tailscale app connectors (conn25, experimental) Connector translates traffic to attacker-chosen destinations with no validation; network ACLs are never consulted for the true destination A device granted the connector capability Reach cloud metadata (credential theft), internal LANs, and — in Kubernetes — every cluster service
headscale control server (self-hosted deployments) Unauthenticated resource exhaustion (memory growth, cache eviction) Internet reachability; no account Control-server crash loop; blocking of new-device onboarding org-wide
Tailscale DERP client (relay connection in every agent) Unbounded read of a malicious relay's response Ability to position/point a client at a hostile relay Client-agent memory exhaustion
tailscale serve (local service exposure) TCP-forward to a unix socket lacks a guard present on the HTTP path; plus a race in per-mount authorization Operator configures the forward (or a peer races the mount check) Remote administrative-API access to the node; minority of requests bypass app authz
Get the report

Source Verification & Original Intelligence

This threat report was reviewed by CyberNew analysts and cross-referenced with primary security disclosures from BleepingComputer.

Primary Advisory →