Skip to main content
ExploitedNot in CISA KEV yetFix available

CVE-2025-54123

Exploitation confirmed. First attested on 2025-11-10 by GCVE · kevintel, GCVE · shadowserver.

  • Published2025-09-10
  • WeaknessCWE-20 · CWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Hoverfly is an open source API simulation tool. In versions 1.11.3 and prior, the middleware functionality in Hoverfly is vulnerable to command injection vulnerability at `/api/v2/hoverfly/middleware` endpoint due to insufficient validation and sanitization in user input. The vulnerability exists in the middleware management API endpoint `/api/v2/hoverfly/middleware`. This issue is born due to combination of three code level flaws: Insufficient Input Validation in middleware.go line 94-96; Unsafe Command Execution in local_middleware.go line 14-19; and Immediate Execution During Testing in hoverfly_service.go line 173. This allows an attacker to gain remote code execution (RCE) on any system running the vulnerable Hoverfly service. Since the input is directly passed to system commands without proper checks, an attacker can upload a malicious payload or directly execute arbitrary commands (including reverse shells) on the host server with the privileges of the Hoverfly process. Commit 17e60a9bc78826deb4b782dca1c1abd3dbe60d40 in version 1.12.0 disables the set middleware API by default, and subsequent changes to documentation make users aware of the security changes of exposing the set middleware API.

Timeline

dates in UTC
  1. 2025-09-1019:15CVE publishedNVD
  2. 2025-11-1018:00Listed as exploited by GCVEGCVE
  3. 2025-11-1018:00Exploitation first reportedGCVE

Versions per branch

OSV · NVD
SpectoLabs/hoverfly
BranchAffectedFixed in
1.11≤ 1.11.3no fix published
Hoverfly
BranchAffectedFixed in
1.12< 1.12.01.12.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • SpectoLabs hoverfly
    Affected
    • = <= 1.11.3no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-09-10

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • govulncheck-vulndbSUSE:Linux Enterprise Module for Package Hub 15 SP6all versions · fixed in 0.0.20250918T182144-150000.1.107.1
  • govulncheck-vulndbopenSUSE:Tumbleweedall versions · fixed in 0.0.20250917T170349-1.1
  • govulncheck-vulndbopenSUSE:Leap 16.0all versions · fixed in 0.0.20260723T184607-160000.1.1
  • govulncheck-vulndbopenSUSE:Leap 15.6all versions · fixed in 0.0.20250918T182144-150000.1.107.1

Full record on NVD

Fix

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2025-09-10
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-r4h8-hfp2-ggmf

Frequently asked questions

What is CVE-2025-54123?

Hoverfly is an open source API simulation tool. In versions 1.11.3 and prior, the middleware functionality in Hoverfly is vulnerable to command injection vulnerability at `/api/v2/hoverfly/middleware` endpoint due to insufficient validation and sanitization in user input. The vulnerability exists in the middleware management API endpoint `/api/v2/hoverfly/middleware`. This issue is born due to combination of three code level flaws: Insufficient Input Validation in middleware.go line 94-96; Unsafe Command Execution in local_middleware.go line 14-19; and Immediate Execution During Testing in hoverfly_service.go line 173. This allows an attacker to gain remote code execution (RCE) on any system running the vulnerable Hoverfly service. Since the input is directly passed to system commands without proper checks, an attacker can upload a malicious payload or directly execute arbitrary commands (including reverse shells) on the host server with the privileges of the Hoverfly process. Commit 17e60a9bc78826deb4b782dca1c1abd3dbe60d40 in version 1.12.0 disables the set middleware API by default, and subsequent changes to documentation make users aware of the security changes of exposing the set middleware API.

Is CVE-2025-54123 actively exploited?

A proof-of-concept exploit exists for CVE-2025-54123, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-54123?

CVE-2025-54123 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running SpectoLabs/hoverfly? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record