Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-125331 — harnessrouter

Critical · CVSS 9.1EPSS 0.5% First seen November 10, 2026

One of 2 harnessrouter vulnerabilities published together by NVD: our article covers all of them.

VulnerabilitiesEndpoint security

Analysis

CVE-2026-125331: HarnessRouter flaw lets remote callers hijack other organizations' provider connections

A critical authentication flaw (CVSS 9.1) in HarnessRouter before 0.31.8 lets a remote caller with a made-up bearer token alter another organization's provider connection in multi-organization deployments. The issue is fixed in 0.31.8.

Key points

  • Critical (CVSS 9.1) flaw in HarnessRouter before 0.31.8; fixed in 0.31.8.
  • The console attaches the server's internal key to requests with an Authorization header before validating the bearer.
  • A made-up bearer can be used to rewrite another organization's provider connection to an attacker-controlled endpoint.
  • Impact is prompt disclosure and attacker influence over tasks via controlled responses.
  • Exploitation in the wild has not been reported in the sources.

What the flaw is

HarnessRouter is a self-hosted unified API for running agent harnesses, with support for sessions, streaming, files, cancellation and failure handling. According to the NVD entry, versions before 0.31.8 have an authentication ordering problem. When a console is not running in self-hosted mode, it attaches the server's internal key to any request that carries an Authorization header, and it does this before checking whether the bearer token is valid.

Several routes trust that internal key and take the organization from the URL rather than from the caller's identity. These are the service-only PUT and GET routes for /v1/orgs/{org}/connections/{name}, the PUT route for /v1/orgs/{org}/policy/{backend}, and the /internal/* routes.

What's affected

The sources list HarnessRouter and state that versions before 0.31.8 are affected. The described attack applies to multi-organization deployments where a console is not in self-hosted mode. The sources do not say how common that configuration is, and they do not describe whether single-organization or self-hosted-mode deployments are exposed.

How serious is it

The CVSS score is 9.1 (critical). Per the NVD description, a remote caller can send a made-up bearer token and rewrite another organization's provider connection so it points to an attacker-controlled endpoint. The stated consequences are that later prompts are disclosed to the attacker, and that attacker-controlled responses can influence tasks. That means both confidentiality loss (prompts may contain sensitive data) and integrity risk, since agent tasks may act on manipulated output.

The sources do not say whether the vulnerability is being exploited in the wild, and no public exploit is mentioned.

What to do

The fix is version 0.31.8. No workaround is described in the sources. Administrators running multi-organization deployments should treat the upgrade as a priority and should review provider connection and policy settings for unexpected changes, since the flaw allows those settings to be rewritten. If a connection endpoint has been altered, assume prompts sent through it were exposed and consider rotating any credentials or secrets that may have appeared in them.

Recommended actions

  1. Upgrade HarnessRouter to version 0.31.8 or later, prioritizing multi-organization deployments.
  2. Audit provider connections and backend policies for every organization and look for endpoints you do not recognize.
  3. Review access logs for PUT or GET requests to /v1/orgs/*/connections/*, /v1/orgs/*/policy/*, and /internal/* from unexpected sources.
  4. If a connection was altered, rotate any secrets that may have appeared in prompts and review tasks that used its responses.

Written with AI assistance from the sources listed on this page; check the vendor advisory before acting.

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Critical · 9.1 CVSS 3.1 base score from the CNA (github.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on confidentiality and integrity, none on availability

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
harnessrouter< 0.31.8—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

Affected

  • harnessrouter

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-125331?

A critical authentication flaw (CVSS 9.1) in HarnessRouter before 0.31.8 lets a remote caller with a made-up bearer token alter another organization's provider connection in multi-organization deployments. The issue is fixed in 0.31.8. Weakness type: Missing Authorization (CWE-862).

How severe is CVE-2026-125331?

CVE-2026-125331 has a CVSS 3.1 base score of 9.1 (critical), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-125331 being exploited?

Not as far as is known: CVE-2026-125331 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-125331?

harnessrouter < 0.31.8.

How do I fix CVE-2026-125331?

Upgrade HarnessRouter to version 0.31.8 or later, prioritizing multi-organization deployments. Audit provider connections and backend policies for every organization and look for endpoints you do not recognize. Review access logs for PUT or GET requests to /v1/orgs//connections/, /v1/orgs//policy/, and /internal/ from unexpected sources.

Timeline & sources

References