# CVE-2026-125331: HarnessRouter: Service-only routes that write an organization's provider connections could be reached through a multi-tenant console with a made-up bearer

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-02)
- Published: 2026-11-10T18:38:44.546Z
- Modified: 2026-11-12T22:18:51.470Z
- Weaknesses: CWE-862, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- HarnessRouter harnessrouter: < 0.31.8

## References

- <https://github.com/HarnessRouter/harnessrouter/security/advisories/GHSA-p6cq-54cg-8mpv>
- <https://github.com/HarnessRouter/harnessrouter/pull/418>
- <https://github.com/HarnessRouter/harnessrouter/commit/28609ec65ed671112d7e5418926bbd3cb3b25c00>
- <https://github.com/HarnessRouter/harnessrouter/releases/tag/v0.31.8>

## Sources

- CVE List: [CVE-2026-125331](https://www.cve.org/CVERecord?id=CVE-2026-125331), CVE Terms of Use, modified 2026-11-12
- NVD: [CVE-2026-125331](https://nvd.nist.gov/vuln/detail/CVE-2026-125331), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-125331 · Whole record: https://cve.day/CVE-2026-125331.json · Rebuilt by cve.day 2026-11-25T22:59:50.087Z
