Skip to content

CVE-2026-50013 Hoverfly: Process Crash via Concurrent Map Write Race Condition in Diff Mode

HighCVSS 7.5 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

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