Missing Authorization Affecting 9router package, versions <0.4.45


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.37% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-9ROUTER-17817941
  • published5 Jul 2026
  • disclosed2 Jul 2026
  • creditUnknown

Introduced: 2 Jul 2026

NewCVE-2026-59800  (opens in a new tab)
CWE-78  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade 9router to version 0.4.45 or higher.

Overview

9router is a 9Router CLI - Start and manage 9Router server

Affected versions of this package are vulnerable to Missing Authorization via the POST /api/tunnel/tailscale-install route handler, which accepts a JSON body containing a sudoPassword field and pipes it, along with the contents of an external script, into a child process executed as sudo -S sh. An attacker can execute arbitrary commands on the host system by sending a crafted unauthenticated POST request with malicious input in the sudoPassword field. This is only exploitable if the Node.js process is running as root, the user has NOPASSWD sudo privileges, or a recent sudo timestamp cache is present.

References

CVSS Base Scores

version 4.0
version 3.1