{"answers":{"affected":"3 open source packages ship an affected version, including github.com/SpectoLabs/hoverfly. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-54376 exists.","fix":"Upgrade github.com/SpectoLabs/hoverfly to 1.12.0 or later.","what":"CVE-2025-54376 is a high-severity missing authorization vulnerability in SpectoLabs hoverfly, published on 10 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-54376 and fix it if it is affected.\n\nWhat it is: CVE-2025-54376 is a high-severity missing authorization vulnerability in SpectoLabs hoverfly, published on 10 Sep 2025. 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-2025-54376 exists.\n\nAffected packages and fixed versions:\n- github.com/SpectoLabs/hoverfly (Go): affected all versions; fixed in 1.12.0\n- github.com/SpectoLabs/hoverfly (Go): affected all versions; fixed in 1.12.0\n- github.com/SpectoLabs/hoverfly (Go): affected all versions; fixed in 1.12.0\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-54376/ (Markdown: https://insights.sbomify.com/CVE-2025-54376/index.md)","id":"CVE-2025-54376","markdown":"https://insights.sbomify.com/CVE-2025-54376/index.md","name":"CVE-2025-54376","record":{"aliases":["GHSA-jxmr-2h4q-rhxp","GO-2025-3945"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"API simulation tool","requires_auth":"none","summary":"Unauthenticated attackers can access the WebSocket log endpoint to view sensitive application logs and internal data when authentication is enabled.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"hoverfly","vendor":"hoverfly"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"},{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Hoverfly is an open source API simulation tool. In versions 1.11.3 and prior, Hoverfly’s admin WebSocket endpoint /api/v2/ws/logs is not protected by the same authentication middleware that guards the REST admin API. Consequently, an unauthenticated remote attacker can stream real-time application logs (information disclosure) and/or gain insight into internal file paths, request/response bodies, and other potentially sensitive data emitted in logs. Version 1.12.0 contains a fix for the issue.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Hoverfly's WebSocket endpoint `/api/v2/ws/logs` reachable without authentication even when --auth is enabled.","id":"CVE-2025-54376","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"Roo Code Lacks Line Break Validation in its Command Execution Tool","id":"CVE-2025-54377"},"packages":[{"ecosystem":"Go","fixed":["1.12.0"],"introduced":["0"],"last_affected":[],"package":"github.com/SpectoLabs/hoverfly","purl":null,"source":"GHSA-jxmr-2h4q-rhxp"},{"ecosystem":"Go","fixed":["1.12.0"],"introduced":["0"],"last_affected":[],"package":"github.com/SpectoLabs/hoverfly","purl":"pkg:golang/github.com/SpectoLabs/hoverfly","source":"GHSA-jxmr-2h4q-rhxp"},{"ecosystem":"Go","fixed":["1.12.0"],"introduced":["0"],"last_affected":[],"package":"github.com/SpectoLabs/hoverfly","purl":"pkg:golang/github.com/SpectoLabs/hoverfly","source":"GO-2025-3945"}],"prev":{"headline":"Eidos: One-click Remote Code Execution through Custom URL Handling","id":"CVE-2025-54374"},"products":["hoverfly"],"published":"2025-09-10","related":[{"cvss_score":9.8,"headline":"Hoverfly is vulnerable to Remote Code Execution through an insecure middleware implementation","id":"CVE-2025-54123","kev_date_added":null,"published":"2025-09-10"},{"cvss_score":7.5,"headline":"Arbitrary file read in the `/api/v2/simulation` endpoint in hoverfly (`GHSL-2023-274`)","id":"CVE-2024-45388","kev_date_added":null,"published":"2024-09-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"2025-09-10","vendors":["SpectoLabs"]},"summary":"Unauthenticated attackers can access the WebSocket log endpoint to view sensitive application logs and internal data when authentication is enabled.","url":"https://insights.sbomify.com/CVE-2025-54376/"}