Arbitrary Code Injection Affecting 9router package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (18th 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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-9ROUTER-21694028
  • published24 Oct 2026
  • disclosed11 Oct 2026
  • creditHaiND

Introduced: 11 Oct 2026

NewCVE-2026-108593  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for 9router.

Overview

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

Affected versions of this package are vulnerable to Arbitrary Code Injection via the POST /api/cli-tools/hermes-settings endpoint, where unsanitized user-supplied input is written directly into the Hermes Agent config.yaml file. An authenticated dashboard user can submit a baseUrl value containing double quotes and newline characters to inject arbitrary YAML keys, including hooks_auto_accept and a hooks.post_llm_call shell command. Hermes Agent then executes the injected shell command without approval following an LLM call, resulting in remote code execution.

CVSS Base Scores

version 4.0
version 3.1