{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-125331 in the wild and no public exploit code.","exposure":"","fix":"No fix has been published for CVE-2026-125331 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-125331 is a critical vulnerability in harnessrouter, published on 10 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-125331 and fix it if it is affected.\n\nWhat it is: CVE-2026-125331 is a critical vulnerability in harnessrouter, published on 10 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-125331 in the wild and no public exploit code.\n\nAffected product: harnessrouter. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-125331/ (Markdown: https://insights.sbomify.com/CVE-2026-125331/index.md)","id":"CVE-2026-125331","markdown":"https://insights.sbomify.com/CVE-2026-125331/index.md","name":"CVE-2026-125331","record":{"aliases":["GHSA-p6cq-54cg-8mpv"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-862","name":"Missing Authorization"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"HarnessRouter is a self-hosted unified API for running agent harnesses with sessions, streaming, files, cancellation, and failure handling.","id":"CVE-2026-125331","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"Forge: TLS client crash on an unsupported ServerHello compression method","id":"CVE-2026-125332"},"nickname":null,"packages":[],"prev":{"headline":"HarnessRouter is a self-hosted unified API for agent harnesses.","id":"CVE-2026-125330"},"products":["harnessrouter"],"published":"2026-11-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-11-12","vendors":["HarnessRouter"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-125331/"}