{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40516 exists.","fix":"No fix has been published for CVE-2026-40516 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-40516 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40516 exists.\n\nAffected product: HKUDS OpenHarness. 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-40516/ (Markdown: https://insights.sbomify.com/CVE-2026-40516/index.md)","id":"CVE-2026-40516","markdown":"https://insights.sbomify.com/CVE-2026-40516/index.md","name":"CVE-2026-40516","record":{"aliases":["GHSA-785m-9q28-jp3m"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenHarness agent library","requires_auth":"none","summary":"Attackers can exploit OpenHarness to access private network services and cloud metadata via SSRF in web tools, risking sensitive data exposure.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"openharness","vendor":"hkuds"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:L/SA:L","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"OpenHarness SSRF via web_fetch and web_search","id":"CVE-2026-40516","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"radare2 \u003c 6.1.4 Command Injection via PDB Parser Symbol Names","id":"CVE-2026-40517"},"packages":[],"prev":{"headline":"OpenHarness Permission Bypass via grep and glob root argument","id":"CVE-2026-40515"},"products":["OpenHarness"],"published":"2026-04-17","related":[{"cvss_score":8.7,"headline":"HKUDS OpenHarness Remote Command Execution via /bridge Slash Command","id":"CVE-2026-7551","kev_date_added":null,"published":"2026-04-30"},{"cvss_score":8.7,"headline":"HKUDS OpenHarness Plugin Management Command Exposure","id":"CVE-2026-6819","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.7,"headline":"OpenHarness Permission Bypass via grep and glob root argument","id":"CVE-2026-40515","kev_date_added":null,"published":"2026-04-17"},{"cvss_score":8.7,"headline":"OpenHarness Remote Administrative Command Injection via Gateway Handler","id":"CVE-2026-40502","kev_date_added":null,"published":"2026-04-16"},{"cvss_score":8.3,"headline":"HKUDS OpenHarness Insecure Default Remote Channel Allowlist","id":"CVE-2026-6823","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":7.1,"headline":"OpenHarness Path Traversal Information Disclosure via /memory show","id":"CVE-2026-40503","kev_date_added":null,"published":"2026-04-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-14","vendors":["HKUDS"]},"summary":"Attackers can exploit OpenHarness to access private network services and cloud metadata via SSRF in web tools, risking sensitive data exposure.","url":"https://insights.sbomify.com/CVE-2026-40516/"}