Skip to content

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

MediumCVSS 6.5 EPSS 0.54%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
SpectoLabs github.com/SpectoLabs/hoverfly(Go) < 1.12.8; <= 1.12.7 1.12.8 Fixed
SpectoLabs github.com/SpectoLabs/hoverfly = < 1.12.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
SpectoLabs github.com/SpectoLabs/hoverfly(Go) < 1.12.8 1.12.8
SpectoLabs github.com/SpectoLabs/hoverfly = < 1.12.8 No fix listed
SpectoLabs github.com/SpectoLabs/hoverfly(Go) <= 1.12.7 No fix listed

References