TS-2026-010

Vulnerability from tailscale - Published: Fri, 24 Jul 2026 00:00:00 GMT

Description: Tailscale SSH exposed accepted environment variable values on the command line of a local process, disclosing them to other local users and to logs.

What happened?

Tailscale SSH allows the configured acceptEnv environment variables to be forwarded from an SSH client to the process launched on the host. Previously, these accepted variables were JSON-encoded and passed to a child process via an --encoded-env command line flag.

As a result, the names and values of the forwarded environment variables were visible in /proc/<pid>/cmdline to any other local user on the host for the duration of process startup. They were also recorded in the session-start arguments that Tailscale logs locally and, unless the node was configured with --no-logs-no-support, to log.tailscale.com. Environment variables commonly carry secrets such as tokens or credentials, which could therefore be disclosed to unintended parties.

Tailscale SSH now passes accepted environment variables to the child process through an inherited file descriptor rather than on the command line and keeps their values out of session logs.

This vulnerability is fixed in Tailscale version 1.102.1 or newer.

What was the impact?

Secrets carried in forwarded environment variables could be disclosed to other local users on the host via /proc, and were written to session logs both locally and to log.tailscale.com.

Who was affected?

Users of Tailscale SSH who forward environment variables via acceptEnv, particularly on shared hosts with other local users.

What do I need to do?

If you use Tailscale SSH with acceptEnv, upgrade to Tailscale version 1.102.1 or newer. If you use acceptEnv to pass credentials, revoke and rotate any impacted credentials.

Credits

We would like to thank Dante Bertana for reporting this issue.

Show details on source website

{
  "guidislink": false,
  "id": "https://tailscale.com/security-bulletins/#ts-2026-010",
  "link": "https://tailscale.com/security-bulletins/#ts-2026-010",
  "links": [
    {
      "href": "https://tailscale.com/security-bulletins/#ts-2026-010",
      "rel": "alternate",
      "type": "text/html"
    }
  ],
  "published": "Fri, 24 Jul 2026 00:00:00 GMT",
  "summary": "\u003cp\u003e\u003cstrong\u003e\u003cem\u003eDescription\u003c/em\u003e\u003c/strong\u003e: Tailscale SSH exposed accepted environment variable values on the command line of a local process, disclosing them to other local users and to logs.\u003c/p\u003e\n\u003ch4\u003eWhat happened?\u003c/h4\u003e\n\u003cp\u003e\u003ca href=\"https://tailscale.com/docs/features/tailscale-ssh\"\u003eTailscale SSH\u003c/a\u003e allows the configured \u003ccode\u003eacceptEnv\u003c/code\u003e environment variables to be forwarded from an SSH client to the process launched on the host. Previously, these accepted variables were JSON-encoded and passed to a child process via an \u003ccode\u003e--encoded-env\u003c/code\u003e command line flag.\u003c/p\u003e\n\u003cp\u003eAs a result, the names and values of the forwarded environment variables were visible in \u003ccode\u003e/proc/\u0026#x3c;pid\u003e/cmdline\u003c/code\u003e to any other local user on the host for the duration of process startup. They were also recorded in the session-start arguments that Tailscale logs locally and, unless the node was configured with \u003ccode\u003e--no-logs-no-support\u003c/code\u003e, to \u003ccode\u003elog.tailscale.com\u003c/code\u003e. Environment variables commonly carry secrets such as tokens or credentials, which could therefore be disclosed to unintended parties.\u003c/p\u003e\n\u003cp\u003eTailscale SSH now passes accepted environment variables to the child process through an inherited file descriptor rather than on the command line and keeps their values out of session logs.\u003c/p\u003e\n\u003cp\u003eThis vulnerability is fixed in Tailscale version 1.102.1 or newer.\u003c/p\u003e\n\u003ch4\u003eWhat was the impact?\u003c/h4\u003e\n\u003cp\u003eSecrets carried in forwarded environment variables could be disclosed to other local users on the host via \u003ccode\u003e/proc\u003c/code\u003e, and were written to session logs both locally and to \u003ccode\u003elog.tailscale.com\u003c/code\u003e.\u003c/p\u003e\n\u003ch4\u003eWho was affected?\u003c/h4\u003e\n\u003cp\u003eUsers of Tailscale SSH who forward environment variables via \u003ccode\u003eacceptEnv\u003c/code\u003e, particularly on shared hosts with other local users.\u003c/p\u003e\n\u003ch4\u003eWhat do I need to do?\u003c/h4\u003e\n\u003cp\u003eIf you use Tailscale SSH with \u003ccode\u003eacceptEnv\u003c/code\u003e, upgrade to Tailscale version 1.102.1 or newer. If you use \u003ccode\u003eacceptEnv\u003c/code\u003e to pass credentials, revoke and rotate any impacted credentials.\u003c/p\u003e\n\u003ch4\u003eCredits\u003c/h4\u003e\n\u003cp\u003eWe would like to thank Dante Bertana for reporting this issue.\u003c/p\u003e",
  "summary_detail": {
    "base": "https://tailscale.com/security-bulletins/index.xml",
    "language": null,
    "type": "text/html",
    "value": "\u003cp\u003e\u003cstrong\u003e\u003cem\u003eDescription\u003c/em\u003e\u003c/strong\u003e: Tailscale SSH exposed accepted environment variable values on the command line of a local process, disclosing them to other local users and to logs.\u003c/p\u003e\n\u003ch4\u003eWhat happened?\u003c/h4\u003e\n\u003cp\u003e\u003ca href=\"https://tailscale.com/docs/features/tailscale-ssh\"\u003eTailscale SSH\u003c/a\u003e allows the configured \u003ccode\u003eacceptEnv\u003c/code\u003e environment variables to be forwarded from an SSH client to the process launched on the host. Previously, these accepted variables were JSON-encoded and passed to a child process via an \u003ccode\u003e--encoded-env\u003c/code\u003e command line flag.\u003c/p\u003e\n\u003cp\u003eAs a result, the names and values of the forwarded environment variables were visible in \u003ccode\u003e/proc/\u0026#x3c;pid\u003e/cmdline\u003c/code\u003e to any other local user on the host for the duration of process startup. They were also recorded in the session-start arguments that Tailscale logs locally and, unless the node was configured with \u003ccode\u003e--no-logs-no-support\u003c/code\u003e, to \u003ccode\u003elog.tailscale.com\u003c/code\u003e. Environment variables commonly carry secrets such as tokens or credentials, which could therefore be disclosed to unintended parties.\u003c/p\u003e\n\u003cp\u003eTailscale SSH now passes accepted environment variables to the child process through an inherited file descriptor rather than on the command line and keeps their values out of session logs.\u003c/p\u003e\n\u003cp\u003eThis vulnerability is fixed in Tailscale version 1.102.1 or newer.\u003c/p\u003e\n\u003ch4\u003eWhat was the impact?\u003c/h4\u003e\n\u003cp\u003eSecrets carried in forwarded environment variables could be disclosed to other local users on the host via \u003ccode\u003e/proc\u003c/code\u003e, and were written to session logs both locally and to \u003ccode\u003elog.tailscale.com\u003c/code\u003e.\u003c/p\u003e\n\u003ch4\u003eWho was affected?\u003c/h4\u003e\n\u003cp\u003eUsers of Tailscale SSH who forward environment variables via \u003ccode\u003eacceptEnv\u003c/code\u003e, particularly on shared hosts with other local users.\u003c/p\u003e\n\u003ch4\u003eWhat do I need to do?\u003c/h4\u003e\n\u003cp\u003eIf you use Tailscale SSH with \u003ccode\u003eacceptEnv\u003c/code\u003e, upgrade to Tailscale version 1.102.1 or newer. If you use \u003ccode\u003eacceptEnv\u003c/code\u003e to pass credentials, revoke and rotate any impacted credentials.\u003c/p\u003e\n\u003ch4\u003eCredits\u003c/h4\u003e\n\u003cp\u003eWe would like to thank Dante Bertana for reporting this issue.\u003c/p\u003e"
  },
  "title": "TS-2026-010",
  "title_detail": {
    "base": "https://tailscale.com/security-bulletins/index.xml",
    "language": null,
    "type": "text/plain",
    "value": "TS-2026-010"
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.