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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-07-14T18:03:10.000Z
- Modified: 2026-09-30T19:57:08.043Z
- Also known as: GHSA-qrh4-p6v4-mrfg, GO-2026-5977
- Weaknesses: CWE-362, CWE-820
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- SpectoLabs hoverfly: < 1.12.8
- github.com/SpectoLabs/hoverfly (Go): before 1.12.8

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/SpectoLabs/hoverfly/security/advisories/GHSA-qrh4-p6v4-mrfg> (advisory, web)
- <https://github.com/SpectoLabs/hoverfly/pull/1227> (fix, web)
- <https://github.com/SpectoLabs/hoverfly/releases/tag/v1.12.8> (web)
- <https://github.com/SpectoLabs/hoverfly> (package)

## Sources

- CVE List: [CVE-2026-50013](https://www.cve.org/CVERecord?id=CVE-2026-50013), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-qrh4-p6v4-mrfg](https://github.com/advisories/GHSA-qrh4-p6v4-mrfg), CC-BY-4.0, modified 2026-07-21
- Go Vulnerability Database: [GO-2026-5977](https://pkg.go.dev/vuln/GO-2026-5977), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-50013](https://nvd.nist.gov/vuln/detail/CVE-2026-50013), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-50013 · Whole record: https://cve.day/CVE-2026-50013.json · Rebuilt by cve.day 2026-11-25T22:59:38.153Z
