{"id":"CVE-2026-108593","revision":"312ae1e12f7945edb5a1e30844cf8cfb","records":[{"revision":"312ae1e12f7945edb5a1e30844cf8cfb","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-108593","aliases":[],"title":"9router 0.4.1 through 0.5.99 Config Injection RCE via hermes-settings Endpoint","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.","state":0,"publishedAt":"2026-10-10T18:16:57.203+00:00","modifiedAt":"2026-10-13T11:38:18.277+00:00","affected":[{"ecosystem":"https://registry.npmjs.org","name":"9router","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"decolua\",\n                    \"product\": \"9router\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0.4.1\",\n                            \"lessThanOrEqual\": \"0.5.99\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:npm/9router\",\n                    \"collectionURL\": \"https://registry.npmjs.org\",\n                    \"repo\": \"https://github.com/decolua/9router\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.3,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.4,"severity":"MEDIUM"}],"references":["https://hackmd.io/@haind/9router-hermes-config-injection","https://github.com/decolua/9router/blob/a99cf57239ff778b61e434c2786009d5ed1c412c/src/app/api/cli-tools/hermes-settings/route.js#L20-L35","https://github.com/decolua/9router/blob/a99cf57239ff778b61e434c2786009d5ed1c412c/src/app/api/cli-tools/hermes-settings/route.js#L185-L223","https://github.com/decolua/9router","https://www.vulncheck.com/advisories/9router-0.4.1-through-0.5.99-config-injection-rce-via-hermes-settings-endpoint"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-108593","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-108593","identifiers":["CVE-2026-108593"]},"retained":false,"historicalAffected":[]}],"coverage":[]}