# CVE-2024-45388: Hoverfly allows an arbitrary file read in the `/api/v2/simulation` endpoint (`GHSL-2023-274`)

Source: https://junglewise.ai/threats/cve-2024-45388-hoverfly-allows-an-arbitrary-file-read-in-the-api-v2-simulation  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-09-06  
License: CC BY 4.0 with a link back

CVE-2024-45388 · Severity: low · CVSS 3.1 · Published 2024-09-06

Hoverfly allows an arbitrary file read in the `/api/v2/simulation` endpoint (`GHSL-2023-274`) in github.com/SpectoLabs/hoverfly

Technologies: [github.com/SpectoLabs/hoverfly (Go)](https://junglewise.ai/threats/technologies/github-com-spectolabs-hoverfly). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-45388 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-45388 being exploited in the wild.

**How severe is CVE-2024-45388?** Low severity, with a CVSS score of 3.1, published 6 September 2024.

**Which products and versions are affected?** github.com/SpectoLabs/hoverfly (Go) SEMVER:introduced=0,fixed=1.10.3.

**Is there a fix for CVE-2024-45388?** Yes. github.com/SpectoLabs/hoverfly (Go): upgrade to 1.10.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-45388?** Check whether you run github.com/SpectoLabs/hoverfly (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/SpectoLabs/hoverfly (Go): upgrade to 1.10.3 or later

  ```sh
  go get github.com/SpectoLabs/hoverfly@v1.10.3
  ```


## Affected products

- github.com/SpectoLabs/hoverfly (Go) SEMVER:introduced=0,fixed=1.10.3

## Identifiers

- CVE-2024-45388
- GHSA-6xx4-x46f-f897
- GO-2024-3108

## Related threats

- [SpectoLabs Hoverfly denial of service via goroutine leak in post-serve actions](https://junglewise.ai/threats/cve-2026-50018-spectolabs-hoverfly-denial-of-service-via-goroutine-leak-in-post)
- [SpectoLabs Hoverfly race condition in Diff mode](https://junglewise.ai/threats/cve-2026-50013-spectolabs-hoverfly-race-condition-in-diff-mode)
- [WebSocket endpoint `/api/v2/ws/logs` reachable without authentication even when --auth is enabled](https://junglewise.ai/threats/cve-2025-54376-websocket-endpoint-api-v2-ws-logs-reachable-without)
- [Hoverfly is vulnerable to Remote Code Execution through an insecure middleware implementation](https://junglewise.ai/threats/cve-2025-54123-hoverfly-is-vulnerable-to-remote-code-execution-through-an)
