{"answers":{"affected":"3 open source packages ship an affected version, including github.com/SpectoLabs/hoverfly.","exploited":"There is no known exploitation of CVE-2026-50013 in the wild and no public exploit code.","fix":"Upgrade github.com/SpectoLabs/hoverfly to 1.12.8 or later.","what":"CVE-2026-50013 is a high-severity vulnerability in SpectoLabs hoverfly, published on 11 Sep 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-50013 and fix it if it is affected.\n\nWhat it is: CVE-2026-50013 is a high-severity vulnerability in SpectoLabs hoverfly, published on 11 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-50013 in the wild and no public exploit code.\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-50013/ (Markdown: https://insights.sbomify.com/CVE-2026-50013/index.md)","id":"CVE-2026-50013","markdown":"https://insights.sbomify.com/CVE-2026-50013/index.md","name":"CVE-2026-50013","record":{"aliases":["GHSA-qrh4-p6v4-mrfg","GO-2026-5977"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"API simulation tool","requires_auth":"none","summary":"An attacker can crash the Hoverfly API simulation tool by sending concurrent requests while it is running in Diff mode.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-820","name":"Missing Synchronization"},{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"Hoverfly is an open source API simulation tool. Prior to version 1.12.8, when Hoverfly is running in Diff mode, the `AddDiff()` function writes to the shared `responsesDiff` map without any synchronization (no mutex). When multiple proxy requests are processed concurrently (the normal case for any proxy), the concurrent map writes trigger Go's built-in race detector which causes a `fatal error: concurrent map read and map write`, immediately killing the entire Hoverfly process. This is trivially exploitable by sending multiple simultaneous requests. 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":"none_known"},"has_fix":true,"headline":"Hoverfly: Process Crash via Concurrent Map Write Race Condition in Diff Mode","id":"CVE-2026-50013","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"race_condition","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"pnpm: Git Fetch Argument Injection via Lockfile resolution.commit","id":"CVE-2026-50014"},"packages":[{"ecosystem":"Go","fixed":["1.12.8"],"introduced":["0"],"last_affected":[],"package":"github.com/SpectoLabs/hoverfly","purl":null,"source":"GHSA-qrh4-p6v4-mrfg"},{"ecosystem":"Go","fixed":["1.12.8"],"introduced":["0"],"last_affected":[],"package":"github.com/SpectoLabs/hoverfly","purl":"pkg:golang/github.com/SpectoLabs/hoverfly","source":"GHSA-qrh4-p6v4-mrfg"},{"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-5977"}],"prev":{"headline":"Squid: Memory corruption in cache_digest reply handling","id":"CVE-2026-50012"},"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["SpectoLabs"]},"summary":"An attacker can crash the Hoverfly API simulation tool by sending concurrent requests while it is running in Diff mode.","url":"https://insights.sbomify.com/CVE-2026-50013/"}