TS-2026-018

Vulnerability from tailscale - Published: Thu, 12 Nov 2026 00:00:00 GMT

Description: An X-Forwarded-For fallback in the Tailscale Kubernetes operator's API server proxy allowed a host without a Tailscale identity to impersonate any tailnet node.

What happened?

The Tailscale Kubernetes operator's API server proxy authenticates requests from tailnet clients to your cluster's API server. It resolves the caller's Tailscale identity from the source address of their connection and forwards that identity to kube-apiserver using Kubernetes impersonation headers.

In deployments that run the proxy as a dedicated ProxyGroup with spec.type: kube-apiserver (or standalone via k8s-proxy), the proxy fell back to the client-supplied X-Forwarded-For header when the source address lookup failed. A host reached over a subnet route but not itself enrolled in your tailnet has no Tailscale identity, so its source address lookup always fails and the fallback applies. Such a host could set X-Forwarded-For to any node's Tailscale IP address and have its requests processed by kube-apiserver as that node.

Tailscale now identifies callers solely from the connection's source address and no longer accepts X-Forwarded-For.

This vulnerability is fixed in Tailscale version 1.104.7 or newer.

What was the impact?

A host on an advertised subnet with no Tailscale identity of its own could make requests to your Kubernetes API server as any tailnet node, including nodes with full cluster administrator access.

Who was affected?

This affects tailnets running the API server proxy as a dedicated ProxyGroup with spec.type: kube-apiserver (or standalone via k8s-proxy) where the proxy's ProxyClass sets spec.tailscale.acceptRoutes to true and an ACL grant allows connections from hosts behind subnet routes. The operator's in-process API server proxy is not affected. Clients enrolled in your tailnet authenticate through their real source addresses and cannot trigger this fallback.

What do I need to do?

If you use the Tailscale Kubernetes operator's dedicated API server proxy, update your deployment to Tailscale version 1.104.7 or newer. If hosts on your subnets could previously reach it, review your Kubernetes audit logs for unexpected impersonated identities.

Credits

We would like to thank Emilio Mendoza for reporting this issue.

Show details on source website

{
  "guidislink": false,
  "id": "https://tailscale.com/security-bulletins/#ts-2026-018",
  "link": "https://tailscale.com/security-bulletins/#ts-2026-018",
  "links": [
    {
      "href": "https://tailscale.com/security-bulletins/#ts-2026-018",
      "rel": "alternate",
      "type": "text/html"
    }
  ],
  "published": "Thu, 12 Nov 2026 00:00:00 GMT",
  "summary": "\u003cp\u003e\u003cstrong\u003e\u003cem\u003eDescription\u003c/em\u003e\u003c/strong\u003e: An \u003ccode\u003eX-Forwarded-For\u003c/code\u003e fallback in the Tailscale Kubernetes operator\u0027s API server proxy allowed a host without a Tailscale identity to impersonate any tailnet node.\u003c/p\u003e\n\u003ch4\u003eWhat happened?\u003c/h4\u003e\n\u003cp\u003eThe \u003ca href=\"https://tailscale.com/docs/kubernetes-operator/api-server-access\"\u003eTailscale Kubernetes operator\u0027s API server proxy\u003c/a\u003e authenticates requests from tailnet clients to your cluster\u0027s API server. It resolves the caller\u0027s Tailscale identity from the source address of their connection and forwards that identity to kube-apiserver using Kubernetes impersonation headers.\u003c/p\u003e\n\u003cp\u003eIn deployments that run the proxy as a dedicated ProxyGroup with \u003ccode\u003espec.type: kube-apiserver\u003c/code\u003e (or standalone via \u003ccode\u003ek8s-proxy\u003c/code\u003e), the proxy fell back to the client-supplied \u003ccode\u003eX-Forwarded-For\u003c/code\u003e header when the source address lookup failed. A host reached over a subnet route but not itself enrolled in your tailnet has no Tailscale identity, so its source address lookup always fails and the fallback applies. Such a host could set \u003ccode\u003eX-Forwarded-For\u003c/code\u003e to any node\u0027s Tailscale IP address and have its requests processed by kube-apiserver as that node.\u003c/p\u003e\n\u003cp\u003eTailscale now identifies callers solely from the connection\u0027s source address and no longer accepts \u003ccode\u003eX-Forwarded-For\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThis vulnerability is fixed in Tailscale version 1.104.7 or newer.\u003c/p\u003e\n\u003ch4\u003eWhat was the impact?\u003c/h4\u003e\n\u003cp\u003eA host on an advertised subnet with no Tailscale identity of its own could make requests to your Kubernetes API server as any tailnet node, including nodes with full cluster administrator access.\u003c/p\u003e\n\u003ch4\u003eWho was affected?\u003c/h4\u003e\n\u003cp\u003eThis affects tailnets running the API server proxy as a dedicated ProxyGroup with \u003ccode\u003espec.type: kube-apiserver\u003c/code\u003e (or standalone via \u003ccode\u003ek8s-proxy\u003c/code\u003e) where the proxy\u0027s ProxyClass sets \u003ccode\u003espec.tailscale.acceptRoutes\u003c/code\u003e to true and an ACL grant allows connections from hosts behind subnet routes. The operator\u0027s in-process API server proxy is not affected. Clients enrolled in your tailnet authenticate through their real source addresses and cannot trigger this fallback.\u003c/p\u003e\n\u003ch4\u003eWhat do I need to do?\u003c/h4\u003e\n\u003cp\u003eIf you use the Tailscale Kubernetes operator\u0027s dedicated API server proxy, update your deployment to Tailscale version 1.104.7 or newer. If hosts on your subnets could previously reach it, review your Kubernetes audit logs for unexpected impersonated identities.\u003c/p\u003e\n\u003ch4\u003eCredits\u003c/h4\u003e\n\u003cp\u003eWe would like to thank Emilio Mendoza 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: An \u003ccode\u003eX-Forwarded-For\u003c/code\u003e fallback in the Tailscale Kubernetes operator\u0027s API server proxy allowed a host without a Tailscale identity to impersonate any tailnet node.\u003c/p\u003e\n\u003ch4\u003eWhat happened?\u003c/h4\u003e\n\u003cp\u003eThe \u003ca href=\"https://tailscale.com/docs/kubernetes-operator/api-server-access\"\u003eTailscale Kubernetes operator\u0027s API server proxy\u003c/a\u003e authenticates requests from tailnet clients to your cluster\u0027s API server. It resolves the caller\u0027s Tailscale identity from the source address of their connection and forwards that identity to kube-apiserver using Kubernetes impersonation headers.\u003c/p\u003e\n\u003cp\u003eIn deployments that run the proxy as a dedicated ProxyGroup with \u003ccode\u003espec.type: kube-apiserver\u003c/code\u003e (or standalone via \u003ccode\u003ek8s-proxy\u003c/code\u003e), the proxy fell back to the client-supplied \u003ccode\u003eX-Forwarded-For\u003c/code\u003e header when the source address lookup failed. A host reached over a subnet route but not itself enrolled in your tailnet has no Tailscale identity, so its source address lookup always fails and the fallback applies. Such a host could set \u003ccode\u003eX-Forwarded-For\u003c/code\u003e to any node\u0027s Tailscale IP address and have its requests processed by kube-apiserver as that node.\u003c/p\u003e\n\u003cp\u003eTailscale now identifies callers solely from the connection\u0027s source address and no longer accepts \u003ccode\u003eX-Forwarded-For\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThis vulnerability is fixed in Tailscale version 1.104.7 or newer.\u003c/p\u003e\n\u003ch4\u003eWhat was the impact?\u003c/h4\u003e\n\u003cp\u003eA host on an advertised subnet with no Tailscale identity of its own could make requests to your Kubernetes API server as any tailnet node, including nodes with full cluster administrator access.\u003c/p\u003e\n\u003ch4\u003eWho was affected?\u003c/h4\u003e\n\u003cp\u003eThis affects tailnets running the API server proxy as a dedicated ProxyGroup with \u003ccode\u003espec.type: kube-apiserver\u003c/code\u003e (or standalone via \u003ccode\u003ek8s-proxy\u003c/code\u003e) where the proxy\u0027s ProxyClass sets \u003ccode\u003espec.tailscale.acceptRoutes\u003c/code\u003e to true and an ACL grant allows connections from hosts behind subnet routes. The operator\u0027s in-process API server proxy is not affected. Clients enrolled in your tailnet authenticate through their real source addresses and cannot trigger this fallback.\u003c/p\u003e\n\u003ch4\u003eWhat do I need to do?\u003c/h4\u003e\n\u003cp\u003eIf you use the Tailscale Kubernetes operator\u0027s dedicated API server proxy, update your deployment to Tailscale version 1.104.7 or newer. If hosts on your subnets could previously reach it, review your Kubernetes audit logs for unexpected impersonated identities.\u003c/p\u003e\n\u003ch4\u003eCredits\u003c/h4\u003e\n\u003cp\u003eWe would like to thank Emilio Mendoza for reporting this issue.\u003c/p\u003e"
  },
  "title": "TS-2026-018",
  "title_detail": {
    "base": "https://tailscale.com/security-bulletins/index.xml",
    "language": null,
    "type": "text/plain",
    "value": "TS-2026-018"
  }
}



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.

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.