Unauthenticated OS command injection in 9Router Tailscale installation
CVE-2026-59800 is an OS command injection vulnerability affecting 9Router versions before 0.4.44. The Tailscale installation endpoint is excluded from the dashboard authorization middleware. It passes the request body's sudoPassword field to the standard input of a 'sudo -S sh' child process. If sudo does not request a password because the process runs as root, a NOPASSWD rule applies, or a recent sudo credential cache exists, the shell interprets the supplied value as a command. This enables unauthenticated remote execution of arbitrary operating system commands. The Shadowserver Foundation first observed exploitation evidence on July 4, 2026.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Unauthenticated attackers can execute arbitrary operating system commands in susceptible deployments. When 9Router runs as root, exploitation provides remote root code execution. In deployments with NOPASSWD sudo, the advisory describes execution as the operator user with potential escalation through sudo. In hardened deployments without usable sudo, command execution may fail, but requests can still trigger outbound fetches and disclose platform information through error output.
If you can’t patch tonight, do this now.
Restrict access to vulnerable instances and their tunnel-related routes using network ACLs, reverse-proxy authentication, or firewall rules. Until patched, disable or block the Tailscale installation functionality. Run the Node process as a non-root user, avoid NOPASSWD sudo rules, and ensure cached sudo credentials are unavailable.
Patch, then assume compromise.
Upgrade the 9router npm package to version 0.4.44 or later.
No public exploits tracked yet. Mallory keeps watching.
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.