{"id":"CVE-2026-125331","summary":"HarnessRouter: Service-only routes that write an organization's provider connections could be reached through a multi-tenant console with a made-up bearer","details":"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.","aliases":["GHSA-p6cq-54cg-8mpv"],"modified":"2026-11-11T10:47:30.194028872Z","published":"2026-11-10T18:38:44.546Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125331.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-862","CWE-863"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125331.json"},{"type":"FIX","url":"https://github.com/HarnessRouter/harnessrouter/commit/28609ec65ed671112d7e5418926bbd3cb3b25c00"},{"type":"FIX","url":"https://github.com/HarnessRouter/harnessrouter/pull/418"},{"type":"WEB","url":"https://github.com/HarnessRouter/harnessrouter/releases/tag/v0.31.8"},{"type":"ADVISORY","url":"https://github.com/HarnessRouter/harnessrouter/security/advisories/GHSA-p6cq-54cg-8mpv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125331"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/harnessrouter/harnessrouter","events":[{"introduced":"0"},{"fixed":"28609ec65ed671112d7e5418926bbd3cb3b25c00"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"0.31.8"}]},{"range":[{"fixed":"28609ec65ed671112d7e5418926bbd3cb3b25c00"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"28609ec65ed671112d7e5418926bbd3cb3b25c00"}],"source":"REFERENCES_TAG","original_tag":"v0.31.8"}]}}],"versions":["v0.31.7","v0.31.6","v0.31.5","v0.31.4","v0.31.3","v0.31.2","v0.31.1","v0.31.0","v0.30.2","v0.30.1","v0.30.0","v0.29.4","v0.29.3","v0.29.2","v0.29.1","v0.29.0","v0.28.7","v0.28.6","v0.28.5","v0.28.4","v0.28.3","v0.28.2","v0.28.1","v0.28.0","v0.28.0-rc.1","v0.27.1","v0.27.0","v0.26.19","v0.26.19-rc.2","v0.26.19-rc.1","v0.26.18","v0.26.18-rc.1","v0.26.17","v0.26.16","v0.26.15","v0.26.14","v0.26.13","v0.26.12","v0.26.11","v0.26.10","v0.26.9","v0.26.8","v0.26.7","v0.26.6","v0.26.5","v0.26.3","v0.26.2","v0.26.1","v0.26.0","v0.25.17","v0.25.16","v0.25.15","v0.25.14","v0.25.13","v0.25.12","v0.25.11","v0.25.10","v0.25.9","v0.25.8","v0.25.7","v0.25.6","v0.25.5","v0.25.4","v0.25.3","v0.25.2","v0.25.1","v0.25.0","v0.24.8","v0.24.7","v0.24.6","v0.24.5","v0.24.4","v0.24.3","v0.24.2","v0.24.1","v0.24.0","v0.23.14","v0.23.13","v0.23.12","v0.23.11","v0.23.10","v0.23.9","v0.23.8","v0.23.7","v0.23.6","v0.23.5","v0.23.4","v0.23.3","v0.23.2","v0.23.1","v0.23.0","v0.22.0","v0.21.1","v0.21.0","v0.20.1","v0.20.0","v0.19.1","v0.19.0","v0.18.4","v0.18.3","v0.18.2","v0.18.1","v0.18.0","v0.17.3","v0.17.2","v0.17.1","v0.17.0","v0.15.7","v0.16.1","v0.16.0","v0.15.10","v0.15.9","v0.15.8","v0.15.6","v0.15.5","v0.15.4","v0.15.3","v0.15.2","v0.15.1","v0.15.0","v0.14.5","v0.14.4","v0.14.3","v0.14.2","v0.14.1","v0.14.0","v0.13.26","v0.13.25","v0.13.24","v0.13.23","v0.13.22","v0.13.21","v0.13.20","v0.13.19","v0.13.18","v0.13.17","v0.13.16","v0.13.15","v0.13.14","v0.13.13","v0.13.12","v0.13.11","v0.13.10","v0.13.9","v0.13.8","v0.13.7","v0.13.6","v0.13.5","v0.13.4","v0.13.3","v0.13.2","v0.13.1","v0.13.0","v0.12.1","v0.12.0","v0.11.3","v0.11.2","v0.11.1","v0.11.0","v0.10.0","v0.9.1","v0.9.0","v0.8.3","v0.8.2","v0.6.0","v0.8.1","v0.8.0","v0.7.0","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125331.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}