Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/spectolabs/hoverfly
  4. ›
  5. CVE-2026-50018

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

July 14, 2026

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.

References

  • github.com/SpectoLabs/hoverfly/pull/1228
  • github.com/SpectoLabs/hoverfly/releases/tag/v1.12.8
  • github.com/SpectoLabs/hoverfly/security/advisories/GHSA-42j2-w334-qxw7
  • github.com/advisories/GHSA-42j2-w334-qxw7
  • nvd.nist.gov/vuln/detail/CVE-2026-50018

Code Behaviors & Features

Detect and mitigate CVE-2026-50018 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.12.8

Fixed versions

  • 1.12.8

Solution

Upgrade to version 1.12.8 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

go/github.com/spectolabs/hoverfly/CVE-2026-50018.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:36 +0000.