{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.11.1"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "adc4c2932ec7039a6b7effeace098e5bc46861c6"
            }
          ],
          "repo": "https://github.com/openwrt/luci",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xwc5-mx58-rh35"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57999.json"
  },
  "details": "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.",
  "id": "CVE-2026-57999",
  "modified": "2026-07-16T03:30:52.864922508Z",
  "published": "2026-06-29T18:16:04.327Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57999.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openwrt/luci/security/advisories/GHSA-xwc5-mx58-rh35"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57999"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/luci-app-tailscale-community-command-injection-via-tailscale-do-login-rpc"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/openwrt/luci"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "luci-app-tailscale-community - Command Injection via tailscale.do_login RPC"
}