---
id: CVE-2026-40516
title: OpenHarness SSRF via web_fetch and web_search
summary: "OpenHarness before commit\_bd4df81 contains a server-side request forgery vulnerability in the web_fetch and web_search tools that allows attackers to access private and localhost HTTP services by manipulating tool parameters without prop…"
severity: high
cvss: 8.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L'
cvssSource: cna
cwe:
  - CWE-918
vendor: HKUDS
product: OpenHarness
affected:
  - OpenHarness < bd4df81f634f8c7cddcc3fdf7f561a13dcbf03ae
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-04-17T16:27:07.696134Z'
exploitAvailable: true
published: '2026-04-17'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:02:54.911Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-40516'
references:
  - url: 'https://github.com/HKUDS/OpenHarness/pull/92'
  - url: >-
      https://github.com/HKUDS/OpenHarness/commit/bd4df81f634f8c7cddcc3fdf7f561a13dcbf03ae
  - url: >-
      https://www.vulncheck.com/advisories/openharness-ssrf-via-web-fetch-and-web-search
tags:
  - cve.org
  - exploit-available
epss: 0.0018
epssPercentile: 0.07657
ingestedAt: '2026-11-08T14:51:22.441Z'
---

## Overview

OpenHarness before commit bd4df81 contains a server-side request forgery vulnerability in the web_fetch and web_search tools that allows attackers to access private and localhost HTTP services by manipulating tool parameters without proper validation of target addresses. Attackers can influence an agent session to invoke these tools against loopback, RFC1918, link-local, or other non-public addresses to read response bodies from local development services, cloud metadata endpoints, admin panels, or other private HTTP services reachable from the victim host.

## Affected

- `OpenHarness < bd4df81f634f8c7cddcc3fdf7f561a13dcbf03ae`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
