CVE-2026-40516 OpenHarness SSRF via web_fetch and web_search

High 7.8 Published Updated

Attackers can exploit OpenHarness to access private network services and cloud metadata via SSRF in web tools, risking sensitive data exposure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-40516?

CVE-2026-40516 is a high-severity server-side request forgery vulnerability in HKUDS OpenHarness, published on 17 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-918

Which versions are affected by CVE-2026-40516?

It affects 1 product.

Products include Hkuds Openharness.

How do I fix CVE-2026-40516?

No fix has been published for CVE-2026-40516 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-40516 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40516 exists.

Sources

Also known as GHSA-785m-9q28-jp3m.

Is CVE-2026-40516 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free