Skip to main content

luci-app-tailscale-community EUVDEUVD-2026-40171

| CVE-2026-57999 HIGH
OS Command Injection (CWE-78)
2026-06-29 VulnCheck GHSA-qr7m-7592-rcvx
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to LuCI with low-privilege account
  2. Delivery
    Reach tailscale.do_login RPC method
  3. Exploit
    Inject $() payload via loginserver parameter
  4. Execution
    Outer shell evaluates substitution as root
  5. Impact
    Execute arbitrary commands as root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated LuCI account (PR:L) on a device running the luci-app-tailscale-community package, and the attacker must invoke the tailscale.do_login RPC method while supplying a malicious value in the loginserver or loginserver_authkey parameter containing a shell substitution like $(...) or backticks. The limiting factors are: valid (even low-privilege) web-UI credentials are mandatory, the vulnerable Tailscale community app must be installed and reachable, and the login/RPC flow must be exercised (reflected by the AT:P attack requirement); no victim user interaction is needed (UI:N). It is not exploitable remotely without authentication.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N, score 7.7) describes a network-reachable, low-complexity flaw that nonetheless requires an existing low-privilege authenticated session (PR:L) and carries an attack requirement (AT:P), meaning the attacker must already hold valid LuCI credentials and reach the Tailscale login flow. Impact is severe - full confidentiality, integrity, and availability loss (VC/VI/VA:H) via root command execution on the router. No EPSS score, KEV listing, or known public POC is present in the provided data, so this is a high-impact but not currently mass-exploited issue: real risk concentrates on devices where untrusted or lower-trust users hold LuCI accounts. The PR:L requirement and niche deployment footprint substantially temper the network attack vector, making this a privilege-escalation-to-root concern rather than an unauthenticated internet-wide risk.

Exploit ScenarioDerived

A user with low-privilege LuCI credentials (for example a guest or delegated admin account on a shared OpenWrt router) opens the Tailscale login action and supplies a crafted loginserver value containing a substitution such as $(id>/tmp/x) or a reverse shell. When do_login builds and runs the command as root, the injected substitution executes, granting root command execution on the device. No public POC is identified in the provided data, but the low complexity makes weaponization straightforward once credentials are held.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 1.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 29, 2026

Authenticated root command injection in the OpenWrt LuCI community Tailscale app (luci-app-tailscale-community) lets a logged-in web UI user run arbitrary OS commands as root through the tailscale.do_login RPC method. Because the user-supplied loginserver and loginserver_authkey values are placed inside a double-quoted shell string, $() and backtick substitutions are evaluated by the outer shell, turning configuration input into command execution. Reported by VulnCheck with a published GHSA advisory; no public exploit identified at time of analysis and the issue is not in CISA KEV.

RemediationAI

Patch available per vendor advisory - upgrade luci-app-tailscale-community to the fixed release described in GHSA-xwc5-mx58-rh35 (https://github.com/openwrt/luci/security/advisories/GHSA-xwc5-mx58-rh35); the exact fixed version is not stated in the available data and should be confirmed from that advisory and the VulnCheck writeup (https://www.vulncheck.com/advisories/luci-app-tailscale-community-command-injection-via-tailscale-do-login-rpc). Until patched, remove or disable the luci-app-tailscale-community package so the tailscale.do_login RPC is no longer exposed (trade-off: loses web-UI Tailscale management, though the CLI tailscale up still works), and restrict LuCI access to trusted administrators by limiting accounts and binding the web interface to the LAN/management network rather than any WAN or Tailscale-exposed interface (trade-off: remote admins must use a VPN or jump host). Avoid granting LuCI logins to lower-trust users, since any authenticated account can reach the vulnerable RPC.

Affected VersionsENISA

luci 0 ≤0.11.1

Affected Packages

euvd luci no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LuCI is the web management interface for OpenWrt routers, and this is a community-maintained add-on that integrates the Tailscale mesh VPN. LuCI exposes server-side actions via rpcd RPC methods that execute under root on the device. The flaw is a classic CWE-78 OS Command Injection: the do_login handler builds a shell command by interpolating attacker-controllable loginserver and loginserver_authkey parameters into a double-quoted string, where the shell still performs command substitution ($(...) and backticks) before tailscale ever parses its arguments, so quoting at the argument level does not stop the outer shell from executing injected commands.

Know when Luci gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.7 HIGH
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
vuln.today AI 8.8 HIGH

Network-reachable RPC needs a low-privilege LuCI login (PR:L), injection is straightforward (AC:L), and root command execution yields full C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
1.2%
Top 36% exploitable
Prevalence
Low
niche community OpenWrt LuCI add-on for Tailscale, limited deployment
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Luci

View all
CVE-2026-61876 CRITICAL POC
9.4 Jul 12

Stored cross-site scripting in OpenWrt's LuCI web interface lets an adjacent-network attacker inject executable HTML/Jav

CVE-2019-12272 CRITICAL
9.8 May 23

In OpenWrt LuCI through 0.10, the endpoints admin/status/realtime/bandwidth_status and admin/status/realtime/wireless_st

CVE-2023-24181 MEDIUM POC
5.4 Apr 10

LuCI openwrt-22.03 branch git-22.361.69894-438c598 was discovered to contain a reflected cross-site scripting (XSS) vuln

CVE-2022-41435 MEDIUM POC
5.4 Nov 03

OpenWRT LuCI version git-22.140.66206-02913be was discovered to contain a stored cross-site scripting (XSS) vulnerabilit

CVE-2020-10871 MEDIUM POC
5.3 Mar 23

In OpenWrt LuCI git-20.x, remote unauthenticated attackers can retrieve the list of installed packages and services. Rat

CVE-2026-69096 HIGH
8.7 Aug 03

OS command injection in OpenWrt's luci-app-dockerman grants any authenticated user holding only the read ACL full root-l

CVE-2026-58000 HIGH
8.7 Jun 29

Root command injection in OpenWrt's LuCI web interface (luci-proto-openvpn through 0.11.1) lets an authenticated user wi

CVE-2026-55897 HIGH
8.8 Sep 21

Authenticated delegated LuCI sessions that hold the luci-app-advanced-reboot read ACL can execute arbitrary commands as

CVE-2026-59260 HIGH
8.7 Jul 12

Privilege escalation to root in OpenWrt's luci-app-samba4 (LuCI web interface) lets authenticated delegated users invoke

CVE-2026-69095 HIGH
8.7 Aug 03

Unauthenticated path traversal in OpenWrt's luci-app-bmx7 package exposes arbitrary files on affected routers via the bm

CVE-2026-62184 HIGH
8.7 Jul 13

Ban-list poisoning in OpenWrt's luci-app-banip (banIP) before 1.8.10 lets an unauthenticated remote attacker steer the a

CVE-2026-61875 HIGH
8.7 Jul 12

Stored cross-site scripting in OpenWrt's luci-app-upnp lets an unauthenticated LAN client persist a JavaScript payload t

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy