CVE-2026-57999

luci-app-tailscale-community - Command Injection via tailscale.do_login RPC

Published Jun 29, 2026 CVSS 4.0 · 7.7 High EPSS 1.5% KEV · Not listed
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.

Analysis

AI-generated

Technical 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 high severity of potential impact. The EPSS score is 2%, 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.

Remediation

No solution or workaround provided in the CVE record.

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 only.
  • 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 August 24, 2026 at 22:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openwrt
Openwrt luci
Vendors & Products Openwrt
Openwrt luci
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'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 14, 2026, 9:34 PM
Reserved
Jun 26, 2026, 5:58 PM
Status
Deferred
Published
Jun 29, 2026, 7:16 PM
Modified
Oct 25, 2026, 9:10 PM