CVE-2026-125331
HarnessRouter is a self-hosted unified API for running agent …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/HarnessRouter/harnessrouter/commit/28609ec65ed671112d7e5418926bbd3cb3b25c00
- github.com/HarnessRouter/harnessrouter/pull/418
- github.com/HarnessRouter/harnessrouter/releases/tag/v0.31.8
- github.com/HarnessRouter/harnessrouter/security/advisories/GHSA-p6cq-54cg-8mpv
- nvd.nist.gov/vuln/detail/CVE-2026-125331
- cve.org/CVERecord?id=CVE-2026-125331
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.