SecurityContext

CVE-2026-108593: 9router - Command Injection

  • Cve: CVE-2026-108593
  • Name: 9router - Command Injection
  • Description: 9router 0.4.1 through 0.5.99 contains a configuration injection vulnerability in the POST /api/cli-tools/hermes-settings endpoint that allows authenticated dashboard users to inject arbitrary keys into the Hermes Agent config.yaml file. Attackers can submit a baseUrl containing double quotes and newlines to add hooks_auto_accept and a hooks.post_llm_call shell command, which Hermes Agent executes without approval after an LLM call.
  • Impact: Authenticated attackers can execute arbitrary shell commands via Hermes Agent, potentially leading to full system compromise.
  • Remediation: Update to the latest version that patches this vulnerability.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker must be an authenticated dashboard user
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.4
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00268
  • Epss percentile: 0.18901
  • Assignee: [email protected]
  • Published at: 2026-10-10T19:16:57Z
  • Age in days: 45
  • Modified at: 2026-10-13T12:17:12Z
  • References total: 5
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-108593
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/decolua/9router
https://github.com/decolua/9router/blob/a99cf57239ff778b61e434c2786009d5ed1c412c/src/app/api/cli-tools/hermes-settings/route.js#L185-L223
https://github.com/decolua/9router/blob/a99cf57239ff778b61e434c2786009d5ed1c412c/src/app/api/cli-tools/hermes-settings/route.js#L20-L35
https://hackmd.io/@haind/9router-hermes-config-injection
https://www.vulncheck.com/advisories/9router-0.4.1-through-0.5.99-config-injection-rce-via-hermes-settings-endpoint

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts