Skip to content
Vulnerability Intelligence

CVE-2024-45388

HighExploitedPublic exploit

Hoverfly allows an arbitrary file read in the /api/v2/simulation endpoint (GHSL-2023-274)

Published Sep 3, 2024 · Updated Aug 12, 2026 · Also known as GHSA-6xx4-x46f-f897, GO-2024-3108

Key Facts

Patch immediately
  • CVE-2024-45388 is a high-severity vulnerability (CVSS 8.7 v4) affecting Hoverfly, github.com/SpectoLabs/hoverfly (go).
  • It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Dec 5, 2024. Public exploit code is available.
  • EPSS estimates a 56% probability of exploitation in the next 30 days.
  • Fixed versions are available, including github.com/SpectoLabs/hoverfly 1.10.3, Hoverfly 1.10.3.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

CVSS v4

8.7

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS (30-day exploit likelihood)

56%

Higher than 99.0% of all scored CVEs

Exploited in the wild

Yes

2 catalog listings

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2024-45388 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

Hoverfly is a lightweight service virtualization/ API simulation / API mocking tool for developers and testers. The /api/v2/simulation POST handler allows users to create new simulation views from the contents of a user-specified file. This feature can be abused by an attacker to read arbitrary files from the Hoverfly server. Note that, although the code prevents absolute paths from being specified, an attacker can escape out of the hf.Cfg.ResponsesBodyFilesPath base path by using ../ segments and reach any arbitrary files. This issue was found using the Uncontrolled data used in path expression CodeQL query for python. Users are advised to make sure the final path (filepath.Join(hf.Cfg.ResponsesBodyFilesPath, filePath)) is contained within the expected base path (filepath.Join(hf.Cfg.ResponsesBodyFilesPath, "/")). This issue is also tracked as GHSL-2023-274.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedDec 5, 2024n/aNot reported
CIRCL KEVDec 5, 2024n/aNot reported

Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Affected Products

4 affected entries in total
ProductAffected versionsFixed in
HoverflyHoverfly>= < 1.10.31.10.3
github.com/SpectoLabs/hoverflygoSee advisory1.10.3

Patched Releases

github.com/SpectoLabs/hoverfly

1.10.3

Hoverfly

1.10.3

Timeline

  1. Publicly disclosed

    Sep 3, 2024

  2. Added to Industry KEV feed

    Dec 5, 2024

  3. Added to CIRCL KEV

    Dec 5, 2024

  4. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

13 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2024-45388 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo