Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-50018 EUVD-2026-76754GHSA-42j2-w334-qxw7GO-2026-5975

Hoverfly: Denial of Service via Goroutine Leak in Remote Post-Serve Actions

Published Sep 11, 2026 · Updated Sep 14, 2026 · 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.

Affected products

VendorProductAffectedFixed
SpectoLabs hoverfly < 1.12.8 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/SpectoLabs/hoverfly < 1.12.8 1.12.8 GHSA-42j2-w334-qxw7

Advisories 1

References