# CVE-2026-59800: 9Router < 0.4.44 - OS Command Injection via sudoPassword Parameter in Tailscale Install Endpoint

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.08%, higher than 82% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-02T20:17:56.000Z
- Modified: 2026-10-25T20:10:00.147Z
- Also known as: GHSA-g6g7-pvmx-m74p
- Weaknesses: CWE-78, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

9Router before 0.4.44 contains an OS command injection vulnerability in the unauthenticated POST /api/tunnel/tailscale-install endpoint (this route is not covered by the dashboard middleware matcher, so no authorization check is applied). The sudoPassword field from the request body is written to the stdin of a 'sudo -S sh' child process. When sudo does not prompt for a password (the process runs as root, NOPASSWD is configured, or a recent sudo timestamp cache exists), the sudoPassword value is interpreted by sh as a shell command, allowing a remote unauthenticated attacker to execute arbitrary OS commands. Exploitation evidence was first observed by the Shadowserver Foundation on 2026-07-04 (UTC).

(As written by CVE List.)

## Affected

- decolua 9router: before 0.4.44 (not affected: 0.4.44)
- 9router (npm): before 0.4.44

## Every score

- VulnCheck: CVSS:4.0 9.2 Critical `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/decolua/9router/security/advisories/GHSA-g6g7-pvmx-m74p> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/9router-os-command-injection-via-sudopassword-parameter-in-tailscale-install-endpoint> (third-party-advisory)
- <https://github.com/decolua/9router> (package)
- <https://github.com/decolua/9router/releases?q=0.4.44&expanded=true> (web)

## Sources

- CVE List: [CVE-2026-59800](https://www.cve.org/CVERecord?id=CVE-2026-59800), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-g6g7-pvmx-m74p](https://github.com/advisories/GHSA-g6g7-pvmx-m74p), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-59800](https://nvd.nist.gov/vuln/detail/CVE-2026-59800), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-59800 · Whole record: https://cve.day/CVE-2026-59800.json · Rebuilt by cve.day 2026-11-25T22:59:27.307Z
