---
id: CVE-2026-108593
title: >-
  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
summary: >-
  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. …
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
published: '2026-10-10'
updated: '2026-10-10'
sourceUpdated: '2026-10-10T19:16:57.720'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-108593'
references:
  - url: 'https://github.com/decolua/9router'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/decolua/9router/blob/a99cf57239ff778b61e434c2786009d5ed1c412c/src/app/api/cli-tools/hermes-settings/route.js#L185-L223
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/decolua/9router/blob/a99cf57239ff778b61e434c2786009d5ed1c412c/src/app/api/cli-tools/hermes-settings/route.js#L20-L35
    label: disclosure@vulncheck.com
  - url: 'https://hackmd.io/@haind/9router-hermes-config-injection'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/9router-0.4.1-through-0.5.99-config-injection-rce-via-hermes-settings-endpoint
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-10T19:30:07.153Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
