# CVE-2026-50018: Hoverfly: Denial of Service via Goroutine Leak in Remote Post-Serve Actions

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-14T18:04:55.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-42j2-w334-qxw7, GO-2026-5975
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- SpectoLabs hoverfly: < 1.12.8
- github.com/SpectoLabs/hoverfly (Go): before 1.12.8

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/SpectoLabs/hoverfly/security/advisories/GHSA-42j2-w334-qxw7> (exploit, advisory, web)
- <https://github.com/SpectoLabs/hoverfly/pull/1228> (fix, web)
- <https://github.com/SpectoLabs/hoverfly/releases/tag/v1.12.8> (web)
- <https://github.com/SpectoLabs/hoverfly> (package)

## Sources

- CVE List: [CVE-2026-50018](https://www.cve.org/CVERecord?id=CVE-2026-50018), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-42j2-w334-qxw7](https://github.com/advisories/GHSA-42j2-w334-qxw7), CC-BY-4.0, modified 2026-07-21
- Go Vulnerability Database: [GO-2026-5975](https://pkg.go.dev/vuln/GO-2026-5975), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-50018](https://nvd.nist.gov/vuln/detail/CVE-2026-50018), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-50018 · Whole record: https://cve.day/CVE-2026-50018.json · Rebuilt by cve.day 2026-11-25T22:59:38.153Z
