Command Injection Vulnerability in Hoverfly API Simulation Tool
CVE-2025-54123

9.8CRITICAL

Key Information:

Vendor

Spectolabs

Status
Vendor
CVE Published:
10 September 2025

What is CVE-2025-54123?

Hoverfly, an open source API simulation tool, is susceptible to a command injection vulnerability stemming from insufficient validation and sanitization of user inputs at the '/api/v2/hoverfly/middleware' endpoint. This vulnerability, found in versions 1.11.3 and earlier, allows an adversary to execute arbitrary system commands, potentially leading to remote code execution (RCE) on affected systems running the Hoverfly service. The flaws arise from multiple factors including inadequate input validation, unsafe command execution practices, and immediate execution during testing phases. Proper mitigation steps include disabling the set middleware API by default and updating documentation to inform users of security risks associated with exposing this endpoint.

Affected Version(s)

hoverfly <= 1.11.3

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.