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

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

July 14, 2026

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.

References

  • github.com/SpectoLabs/hoverfly/pull/1227
  • github.com/SpectoLabs/hoverfly/releases/tag/v1.12.8
  • github.com/SpectoLabs/hoverfly/security/advisories/GHSA-qrh4-p6v4-mrfg
  • github.com/advisories/GHSA-qrh4-p6v4-mrfg
  • nvd.nist.gov/vuln/detail/CVE-2026-50013

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.12.8

Fixed versions

  • 1.12.8

Solution

Upgrade to version 1.12.8 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-820: Missing Synchronization

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 15 Jul 2026 12:20:16 +0000.