{"affected":[{"product":"harnessrouter","source":"CNA: GitHub_M","vendor":"HarnessRouter","versions":[{"status":"affected","version":"< 0.31.8"}]}],"cveId":"CVE-2026-125331","cwes":["CWE-862","CWE-863"],"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.","epss":{"date":"2026-11-12","percentile":0.2262,"score":0.00297},"exploits":[],"kev":null,"metrics":[{"score":9.1,"severity":"critical","source":"CNA: GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"score":9.1,"severity":"critical","source":"NVD: security-advisories@github.com","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}],"modifiedAt":1794506548023,"publishedAt":1794335924546,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/HarnessRouter/harnessrouter/security/advisories/GHSA-p6cq-54cg-8mpv"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/HarnessRouter/harnessrouter/pull/418"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/HarnessRouter/harnessrouter/commit/28609ec65ed671112d7e5418926bbd3cb3b25c00"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/HarnessRouter/harnessrouter/releases/tag/v0.31.8"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/HarnessRouter/harnessrouter/commit/28609ec65ed671112d7e5418926bbd3cb3b25c00"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/HarnessRouter/harnessrouter/pull/418"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/HarnessRouter/harnessrouter/releases/tag/v0.31.8"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/HarnessRouter/harnessrouter/security/advisories/GHSA-p6cq-54cg-8mpv"}],"remediation":[],"revision":"242fcc01f8ced5f337f41f024838f9cce1b247e64327ce2c6d745039e8ae26dd","sources":[{"modifiedAt":1794506548023,"name":"CNA: GitHub_M","retrievedAt":1794510569606,"url":"https://www.cve.org/CVERecord?id=CVE-2026-125331"},{"modifiedAt":1794338470630,"name":"NVD","retrievedAt":1794356904082,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125331"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1794510584709,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-125331"}],"ssvc":{"assessedAt":1794502402134,"automatable":"yes","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"HarnessRouter: Service-only routes that write an organization's provider connections could be reached through a multi-tenant console with a made-up bearer","updatedAt":1794510584709}