{"id":"CVE-2023-28436","published":"2023-03-23T19:27:48Z","modified":"2025-02-25T14:50:44Z","title":"Non-interactive Tailscale SSH sessions on FreeBSD may use the effective group ID of the tailscaled process","vendor":"tailscale","product":"tailscale","tier":"tail","description":{"text":"Tailscale is software for using Wireguard and multi-factor authentication (MFA). A vulnerability identified in the implementation of Tailscale SSH starting in version 1.34.0 and prior to prior to 1.38.2 in FreeBSD allows commands to be run with a higher privilege group ID than that specified in Tailscale SSH access rules. A difference in the behavior of the FreeBSD `setgroups` system call from POSIX meant that the Tailscale client running on a FreeBSD-based operating system did not appropriately restrict groups on the host when using Tailscale SSH. When accessing a FreeBSD host over Tailscale SSH, the egid of the tailscaled process was used instead of that of the user specified in Tailscale SSH access rules.\n\nTailscale SSH commands may have been run with a higher privilege group ID than that specified in Tailscale SSH access rules if they met all of the following criteria: the destination node was a FreeBSD device with Tailscale SSH enabled; Tailscale SSH access rules permitted access for non-root users; and a non-interactive SSH session was used.\n\nAffected users should upgrade to version 1.38.2 to remediate the issue.\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00464,"percentile":0.41075,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://github.com/tailscale/tailscale/security/advisories/GHSA-vfgq-g5x8-g595","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tailscale/tailscale/commit/d00c046b723dff6e3775d7d35f891403ac21a47d","tags":["x_refsource_MISC"]},{"url":"https://github.com/tailscale/tailscale/releases/tag/v1.38.2","tags":["x_refsource_MISC"]},{"url":"https://tailscale.com/security-bulletins/#ts-2023-003","tags":["x_refsource_MISC"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":8.21},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"tailscale","affectedVersions":[{"vendor":"tailscale","product":"tailscale","versions":[">= 1.34.0, < 1.38.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-25T14:28:14.011420Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"tailscale.com","vulnerableRanges":[">=1.34.0, <1.38.2"],"patched":["1.38.2"],"from":["GHSA-vfgq-g5x8-g595","GO-2023-1671"],"provenance":"source"}],"summary":{"text":"Tailscale SSH on FreeBSD hosts, in the tailscale product's implementation of its SSH server, runs non-interactive sessions under the effective group ID of the tailscaled process instead of the group specified in the SSH access rules, so commands can execute with a higher group privilege than intended. An attacker would need an access rule that permits a non-root user to connect over Tailscale SSH to a FreeBSD node with SSH enabled, and must use a non-interactive SSH session, with a prior authenticated presence on the network path and a user action involved.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:46Z"},"euvd":{"id":"EUVD-2023-1110","exploited":false,"provenance":"source"}}