{"answers":{"affected":"3 open source packages ship an affected version, including github.com/SpectoLabs/hoverfly.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50018 exists.","fix":"Upgrade github.com/SpectoLabs/hoverfly to 1.12.8 or later.","what":"CVE-2026-50018 is a medium-severity denial of service vulnerability in SpectoLabs hoverfly, published on 11 Sep 2026. 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-2026-50018 and fix it if it is affected.\n\nWhat it is: CVE-2026-50018 is a medium-severity denial of service vulnerability in SpectoLabs hoverfly, published on 11 Sep 2026. 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-2026-50018 exists.\n\nAffected packages and fixed versions:\n- github.com/SpectoLabs/hoverfly (Go): affected all versions; fixed in 1.12.8\n- github.com/SpectoLabs/hoverfly (Go): affected all versions; fixed in 1.12.8\n- github.com/SpectoLabs/hoverfly (Go): affected all versions; fixed in 1.12.8\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-50018/ (Markdown: https://insights.sbomify.com/CVE-2026-50018/index.md)","id":"CVE-2026-50018","markdown":"https://insights.sbomify.com/CVE-2026-50018/index.md","name":"CVE-2026-50018","record":{"aliases":["GHSA-42j2-w334-qxw7","GO-2026-5975"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"API simulation tool","requires_auth":"none","summary":"An attacker can cause a denial of service in Hoverfly by triggering remote post-serve actions against unresponsive endpoints, leading to goroutine leaks and memory exhaustion.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"Hoverfly is an open source API simulation tool. Prior to version 1.12.8, remote post-serve actions use `http.DefaultClient` without any timeout configuration. When the remote endpoint is unreachable or intentionally slow (accepts TCP connection but never responds), each triggered proxy request spawns a goroutine that blocks indefinitely on `http.DefaultClient.Do()`. An attacker can cause unbounded goroutine accumulation leading to memory exhaustion and process crash (OOM kill). Unlike local post-serve action execution, this requires no binary execution, only a URL pointing to a non-responsive endpoint. Version 1.12.8 patches 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: Denial of Service via Goroutine Leak in Remote Post-Serve Actions","id":"CVE-2026-50018","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"yt-dlp: File Downloader cookie leak with curl","id":"CVE-2026-50019"},"packages":[{"ecosystem":"Go","fixed":["1.12.8"],"introduced":["0"],"last_affected":[],"package":"github.com/SpectoLabs/hoverfly","purl":null,"source":"GHSA-42j2-w334-qxw7"},{"ecosystem":"Go","fixed":["1.12.8"],"introduced":["0"],"last_affected":[],"package":"github.com/SpectoLabs/hoverfly","purl":"pkg:golang/github.com/SpectoLabs/hoverfly","source":"GHSA-42j2-w334-qxw7"},{"ecosystem":"Go","fixed":["1.12.8"],"introduced":["0"],"last_affected":[],"package":"github.com/SpectoLabs/hoverfly","purl":"pkg:golang/github.com/SpectoLabs/hoverfly","source":"GO-2026-5975"}],"prev":{"headline":"pnpm binds unscoped user-level npm auth credentials to a repository-selected registry","id":"CVE-2026-50017"},"products":["hoverfly"],"published":"2026-09-11","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["SpectoLabs"]},"summary":"An attacker can cause a denial of service in Hoverfly by triggering remote post-serve actions against unresponsive endpoints, leading to goroutine leaks and memory exhaustion.","url":"https://insights.sbomify.com/CVE-2026-50018/"}