Description
luci-app-tailscale-community contains a command injection vulnerability in the tailscale.do_login RPC method that allows authenticated users to execute arbitrary commands as root. The vulnerability exists because user-controlled loginserver and loginserver_authkey parameters are improperly quoted within a double-quoted shell command, allowing shell substitutions like $() to be evaluated by the outer shell before argument processing.
Published: 2026-06-29
Score: 7.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The luci-app-tailscale-community package contains a command injection flaw. The flaw resides in the tailscale.do_login RPC, where the supplied loginserver and loginserver_authkey parameters are directly embedded in a double-quoted shell command. Because the parameters are not properly quoted, an attacker with authenticated access can embed shell substitutions like $() in the values, causing the outer shell to execute arbitrary commands as root. This vulnerability satisfies CWE‑78 and permits arbitrary command execution at the highest privilege level.

Affected Systems

The affected software is the luci-app-tailscale-community component of the OpenWrt Luci suite. Versions that include the vulnerable implementation lack the proper quoting for the loginserver and loginserver_authkey fields. No specific version ranges are listed in the CNA data, so administrators should review their installed luci-app-tailscale-community packages and consider upgrading whenever a patched release becomes available.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity of potential impact. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the ability to achieve root-level command execution remains a serious threat. Exploitation requires an authenticated user session to the tailscale.do_login RPC; the attacker can supply malicious payloads that are interpreted by the system shell before executing the intended command. Given the lack of a publicly known exploit at the time of analysis, the risk remains high but contingent on the presence of valid credentials.

Generated by OpenCVE AI on June 29, 2026 at 20:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update luci-app-tailscale-community to the latest patched version that corrects the quoting of loginserver and loginserver_authkey parameters.
  • If a patch is not yet available, restrict access to the tailscale.do_login RPC to trusted users or tighten input validation to reject shell metacharacters such as $(), `` , and ;.
  • Configure the tailscale service to disable or limit command execution paths that use untrusted input, and implement stricter validation or escaping for any remaining RPC parameters.

Generated by OpenCVE AI on June 29, 2026 at 20:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 30 Jun 2026 00:15:00 +0000

Type Values Removed Values Added
First Time appeared Openwrt
Openwrt luci
Vendors & Products Openwrt
Openwrt luci

Mon, 29 Jun 2026 19:00:00 +0000

Type Values Removed Values Added
Description luci-app-tailscale-community contains a command injection vulnerability in the tailscale.do_login RPC method that allows authenticated users to execute arbitrary commands as root. The vulnerability exists because user-controlled loginserver and loginserver_authkey parameters are improperly quoted within a double-quoted shell command, allowing shell substitutions like $() to be evaluated by the outer shell before argument processing.
Title luci-app-tailscale-community - Command Injection via tailscale.do_login RPC
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-29T18:16:04.327Z

Reserved: 2026-06-26T17:58:05.796Z

Link: CVE-2026-57999

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-30T00:00:05Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')