HarnessRouter: Service-only routes that write an organization's provider connections could be reached through a multi-tenant console with a made-up bearer
CVE-2026-125331Published 10 Nov 2026, 18:38 UTC
Real-world risk
6.8/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.1
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| HarnessRouterNiche | < 0.31.8 | 0.31.8 |
What to do
Update to a fixed version: 0.31.8.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 33), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 1 × threat 0.856.800
- Rounded to one decimal between 0.1 and 106.8
Exploitation and evidence timeline
- 10 Nov 2026 Published
- 3 Dec 2026 Risk 6.8 (cvss fallback)
Weakness
CWE-862, CWE-863
References
- https://github.com/HarnessRouter/harnessrouter/security/advisories/GHSA-p6cq-54cg-8mpvvendor-advisory
- https://github.com/HarnessRouter/harnessrouter/pull/418misc
- https://github.com/HarnessRouter/harnessrouter/commit/28609ec65ed671112d7e5418926bbd3cb3b25c00misc
- https://github.com/HarnessRouter/harnessrouter/releases/tag/v0.31.8misc
- CVE-2026-125331 on CVE.org