3.8low
Tailscale daemon is vulnerable to information disclosure via CSRF
- Severity
- 3.8low CVSS:3.0 by GitHub_M
- Exploit likelihood
- 0.48% (higher than 34% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-qccm-wmcq-pwr6GO-2022-1119
Description
A vulnerability identified in the Tailscale client allows a malicious website to access the peer API, which can then be used to access Tailscale environment variables. In the Tailscale client, the peer API was vulnerable to DNS rebinding. This allowed an attacker-controlled website visited by the node to rebind DNS for the peer API to an attacker-controlled DNS server, and then making peer API requests in the client, including accessing the node’s Tailscale environment variables. An attacker with access to the peer API on a node could use that access to read the node’s environment variables, including any credentials or secrets stored in environment variables. This may include Tailscale authentication keys, which could then be used to add new nodes to the user’s tailnet. The peer API access could also be used to learn of other nodes in the tailnet or send files via Taildrop. All Tailscale clients prior to version v1.32.3 are affected. Upgrade to v1.32.3 or later to remediate the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| tailscale tailscale | < 1.32.3, before 1.32.3 | CVE List, NVD |
| tailscale.com/cmd (Go) | before 1.32.3 | GitHub Advisory Database |
| tailscale.com (Go) | before 1.32.3 | Go Vulnerability Database |
All scores
| GitHub_M | 3.8low CVSS:3.0 | CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N |
| GitHub | 3.8low CVSS:3.0 | CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Classification
What each source says
CVE List
A vulnerability identified in the Tailscale client allows a malicious website to access the peer API, which can then be used to access Tailscale environment variables. In the Tailscale client, the peer API was vulnerable to DNS rebinding. This allowed an attacker-controlled website visited by the node to rebind DNS for the peer API to an attacker-controlled DNS server, and then making peer API requests in the client, including accessing the node’s Tailscale environment variables. An attacker with access to the peer API on a node could use that access to read the node’s environment variables, including any credentials or secrets stored in environment variables. This may include Tailscale authentication keys, which could then be used to add new nodes to the user’s tailnet. The peer API access could also be used to learn of other nodes in the tailnet or send files via Taildrop. All Tailscale clients prior to version v1.32.3 are affected. Upgrade to v1.32.3 or later to remediate the issue.
GitHub Advisory Database
A vulnerability identified in the Tailscale client allows a malicious website to access the peer API, which can then be used to access Tailscale environment variables.
Affected platforms: All Patched Tailscale client versions: v1.32.3 or later, v1.33.257 or later (unstable)
What happened?
In the Tailscale client, the peer API was vulnerable to DNS rebinding. This allowed an attacker-controlled website visited by the node to rebind DNS for the peer API to an attacker-controlled DNS server, and then making peer API requests in the client, including accessing the node’s Tailscale environment variables.
Who is affected?
All Tailscale clients prior to version v.1.32.3 are affected.
What should I do?
Upgrade to v1.32.3 or later to remediate the issue.
What is the impact?
An attacker with access to the peer API on a node could use that access to read the node’s environment variables, including any credentials or secrets stored in environment variables. This may include Tailscale authentication keys, which could then be used to add new nodes to the user’s tailnet. The peer API access could also be used to learn of other nodes in the tailnet or send files via Taildrop.
An attacker with access to the peer API who sent a malicious file via Taildrop which was accessed while it was loading could use this to gain access to the local API, and remotely execute code.
There is no evidence of this vulnerability being purposefully triggered or exploited.
Credits
We would like to thank Emily Trau and Jamie McClymont (CyberCX) for reporting this issue. Further detail is available in their blog post.
References
For more information
If you have any questions or comments about this advisory, contact Tailscale support.
Go Vulnerability Database
Tailscale daemon is vulnerable to information disclosure via CSRF in tailscale.com
NVD (es)
Una vulnerabilidad identificada en el cliente Tailscale permite que un sitio web malicioso acceda a la API del mismo nivel, que luego puede usarse para acceder a las variables de entorno de Tailscale. En el cliente Tailscale, la API del mismo nivel era vulnerable a la nueva vinculación de DNS. Esto permitió que un sitio web controlado por un atacante visitado por el nodo volviera a vincular el DNS para la API del mismo nivel a un servidor DNS controlado por el atacante y luego realizar solicitudes de API del mismo nivel en el cliente, incluido el acceso a las variables de entorno Tailscale del nodo. Un atacante con acceso a la API del mismo nivel en un nodo podría usar ese acceso para leer las variables de entorno del nodo, incluidas las credenciales o secretos almacenados en las variables de entorno. Esto puede incluir claves de autenticación de Tailscale, que luego podrían usarse para agregar nuevos nodos a la red trasera del usuario. El acceso a la API de pares también podría usarse para conocer otros nodos en la tailnet o enviar archivos a través de Taildrop. Todos los clientes de Tailscale anteriores a la versión v1.32.3 se ven afectados. Actualice a v1.32.3 o posterior para solucionar el problema.
References
| https://github.com/tailscale/tailscale/security/advisories/GHSA-qccm-wmcq-pwr6 | advisory, third-party-advisory, web | |
| https://emily.id.au/tailscale | exploit, technical-description, third-party-advisory, web | |
| https://tailscale.com/security-bulletins/#ts-2022-005 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-41925 | advisory | |
| https://github.com/tailscale/tailscale | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-41925 changed 2025-04-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qccm-wmcq-pwr6 changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-1119 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2022-41925 changed 2026-06-17 | Public domain |