Read the docs
TI-2025-33966 Aliases CVE-2025-54123GHSA-r4h8-hfp2-ggmf

Improper input validation in SpectoLabs hoverfly

Priority HIGH 82CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.10908 95th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
SpectoLabshoverflyup to 1.11.3—No fix listedCNA
—github.com/SpectoLabs/hoverfly (Go)up to 1.11.3—No fix listedGHSA-r4h8-hfp2-ggmf
  • hoverfly VendorSpectoLabs Affected up to 1.11.3 Fixed in — No fix listed CNA
  • github.com/SpectoLabs/hoverfly (Go) Vendor— Affected up to 1.11.3 Fixed in — No fix listed GHSA-r4h8-hfp2-ggmf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:hoverfly:hoverfly:*:*:*:*:*:*:*:*before 1.12.0VulnerableSpectoLabs
  • cpe:2.3:a:hoverfly:hoverfly:*:*:*:*:*:*:*:* Versions before 1.12.0 Vulnerable ·SpectoLabs

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-54123
  2. 2026-10-03 Alias added: GHSA-r4h8-hfp2-ggmf

References

  • TI-2025-34185 Hoverfly's WebSocket endpoint `/api/v2/ws/logs` reachable without authentication even when --auth is enabled. CVSS 4.0HIGH 7.8
  • TI-2024-30437 Arbitrary file read in the `/api/v2/simulation` endpoint in hoverfly (`GHSL-2023-274`) CVSS 3.1HIGH 7.5

Sources