{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-58176 exists.","fix":"No fix has been published for CVE-2025-58176 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-58176 is a high-severity code injection vulnerability in OpenAgentPlatform Dive, published on 3 Sep 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-58176 and fix it if it is affected.\n\nWhat it is: CVE-2025-58176 is a high-severity code injection vulnerability in OpenAgentPlatform Dive, published on 3 Sep 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-58176 exists.\n\nAffected product: OpenAgentPlatform Dive. 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-2025-58176/ (Markdown: https://insights.sbomify.com/CVE-2025-58176/index.md)","id":"CVE-2025-58176","markdown":"https://insights.sbomify.com/CVE-2025-58176/index.md","name":"CVE-2025-58176","record":{"aliases":["GHSA-2r34-7pgx-vvrc"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"MCP Host Desktop App","requires_auth":"none","summary":"Attackers can achieve remote code execution on Dive desktop app users via malicious custom URL links or redirects.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"dive","vendor":"openagentplatform"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Dive is an open-source MCP Host Desktop Application that enables integration with function-calling LLMs. In versions 0.9.0 through 0.9.3, there is a one-click Remote Code Execution vulnerability triggered through a custom url value, `transport` in the JSON object. An attacker can exploit the vulnerability in the following two scenarios: a victim visits a malicious website controlled by the attacker and the website redirect to the URL automatically, or a victim clicks on such a crafted link embedded on a legitimate website (e.g., in user-generated content). In both cases, the browser invokes Dive's custom URL handler (dive:), which launches the Dive app and processes the crafted URL, leading to arbitrary code execution on the victim’s machine. This vulnerability is caused by improper processing of custom url. This is fixed in version 0.9.4.","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":"Dive's improper processing of custom urls can lead to Remote Code Execution","id":"CVE-2025-58176","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"n8n stored cross-site scripting in LangChain Chat Trigger node initialMessages parameter","id":"CVE-2025-58177"},"packages":[],"prev":{"headline":"GeoServer has a Server-Side Request Forgery (SSRF) Vulnerability in its XML Entity Resolution","id":"CVE-2025-58175"},"products":["Dive"],"published":"2025-09-03","related":[{"cvss_score":9.7,"headline":"Dive allows One-click Remote Code Execution through Deep Links for MCP Install","id":"CVE-2026-23523","kev_date_added":null,"published":"2026-01-16"},{"cvss_score":9.7,"headline":"Dive has Cross-Site Scripting vulnerability that can escalate to Remote Code Execution","id":"CVE-2025-66580","kev_date_added":null,"published":"2025-12-19"}],"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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-09-03","vendors":["OpenAgentPlatform"]},"summary":"Attackers can achieve remote code execution on Dive desktop app users via malicious custom URL links or redirects.","url":"https://insights.sbomify.com/CVE-2025-58176/"}