Skip to content
OpenAdvisories
High · 7.5 CVE-2026-50013 EUVD-2026-76755GHSA-qrh4-p6v4-mrfgGO-2026-5977

Hoverfly: Process Crash via Concurrent Map Write Race Condition in Diff Mode

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

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-qrh4-p6v4-mrfg

Advisories 1

References