← Back to search

CVE-2026-125331

9.1 CRITICALpublic exploit available

Published 2026-11-10 · Updated 2026-11-10

AI risk analysis

Summary
In HarnessRouter versions prior to 0.31.8, non-self-hosted deployments incorrectly attach the server's internal authorization key to requests before validating the provided bearer token, and certain API routes trust this key to derive organization context from the URL. This allows unauthenticated attackers to forge requests that impersonate any organization and modify provider connections, leading to credential theft and injection of malicious responses into agent workflows.
Exploitability
Exploitation is straightforward for remote attackers with network access, requiring only knowledge of the vulnerable endpoints and ability to craft malformed Authorization headers; no prior authentication or privileged access is needed.
Blast radius
Successful exploitation enables cross-tenant data exfiltration and command injection into agent tasks across organizations in multi-tenant deployments, potentially compromising all tenants sharing the same instance.
Detection
Defenders should monitor for anomalous PUT/GET requests to /v1/orgs/{org}/connections/{name}, /v1/orgs/{org}/policy/{backend}, or /internal/* paths where the Authorization header contains a non-standard or malformed bearer token, especially when paired with suspicious organization IDs not matching known internal usage patterns.
Prioritized remediation
Upgrade to HarnessRouter version 0.31.8 immediately to patch the authentication bypass and authorization flaw.
auth-bypassprivilege-escalationmulti-tenantapi-abusecredential-theft

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

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

Weaknesses

CWE-862, CWE-863

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.