CVE-2026-125331 HarnessRouter · harnessrouter
AI summary
HarnessRouter before 0.31.8 attaches the server's internal key to requests before validating the bearer when the console is not in self-hosted mode. In multi-organization deployments, an unauthenticated remote attacker can use a fake bearer to redirect another organization's provider connection to an attacker endpoint, exposing prompts and influencing tasks. Critical (CVSS 9.1); fixed in 0.31.8.
Official description
HarnessRouter is a self-hosted unified API for running agent harnesses with sessions, streaming, files, cancellation, and failure handling. Prior to 0.31.8, a console that is not in self-hosted mode attaches the server's internal key to requests carrying an Authorization header before validating the bearer, while the service-only PUT and GET /v1/orgs/{org}/connections/{name}, PUT /v1/orgs/{org}/policy/{backend}, and /internal/* routes trust that key and take the organization from the URL. In a multi-organization deployment, a remote caller can use a made-up bearer to rewrite another organization's provider connection to an attacker-controlled endpoint, causing later prompts to be disclosed and attacker-controlled responses to influence tasks. This issue is fixed in version 0.31.8.
- Published
- 2026-11-10 19:21 UTC
- Modified
- 2026-11-12 22:18 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - EPSS
- 0.50% (percentile 35)
- ENISA EUVD
- EUVD-2026-122787
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-862
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- github.com
https://github.com/HarnessRouter/harnessrouter/commit/28609ec65ed671112d7e5418926bbd3cb3b25c00 - github.com
https://github.com/HarnessRouter/harnessrouter/pull/418 - github.com
https://github.com/HarnessRouter/harnessrouter/releases/tag/v0.31.8 - github.com
https://github.com/HarnessRouter/harnessrouter/security/advisories/GHSA-p6cq-54cg-8mpv