CVE-2024-45388Hoverfly Path Traversal
Hoverfly allows an arbitrary file read in the /api/v2/simulation endpoint (GHSL-2023-274)
Published Sep 2, 2024 · Updated Oct 28, 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 CIRCL KEV, Industry KEV feed since Dec 5, 2024. A public exploit is reported by tracking sources, but no code link is listed yet.
- 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.
Scores
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
Exploit maturity
Exploited (KEV)
ATLAS score
58/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Dec 5, 2024
94 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
11
Reports of active use
Advisories And Exploit References
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
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CIRCL KEV | Dec 5, 2024 | n/a | Not reported |
| Industry KEV feed | Dec 5, 2024 | n/a | Not reported |
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| HoverflyHoverfly | < 1.10.3 | 1.10.3 |
| github.com/SpectoLabs/hoverflygo | See advisory | 1.10.3 |
Patched Releases
github.com/SpectoLabs/hoverfly
1.10.3
Hoverfly
1.10.3
Timeline
Publicly disclosed
Sep 2, 2024
Added to CIRCL KEV
Dec 5, 2024
Added to Industry KEV feed
Dec 5, 2024
Last updated
Oct 28, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2024-45388
- advisoryGHSA advisory
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
FAQ
Common Questions.
Hoverfly is a lightweight service virtualization/ API simulation / API mocking tool for developers and testers.
Affected: Hoverfly versions < 1.10.3; github.com/SpectoLabs/hoverfly (go). The full list is in the CVE brief.
It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Dec 5, 2024.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
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.
Is CVE-2024-45388 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo