Hoverfly
CVE-2025-54376
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover Hoverfly admin port via network scan
-
DeliveryEstablish unauthenticated WebSocket connection to /api/v2/ws/logs
-
ExploitStream real-time application logs
-
ExecutionExtract internal paths, API tokens, and system architecture
-
ImpactPivot to credential theft or lateral movement
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions required for core vulnerability exploitation - remote unauthenticated access to the /api/v2/ws/logs WebSocket endpoint on default or custom Hoverfly admin ports. However, realistic exploitation is limited by: (1) Network reachability: Hoverfly admin interfaces must be accessible from attacker-controlled networks rather than localhost-only bindings or isolated development VLANs; (2) Log content value: Impact depends entirely on what sensitive data application logs contain - deployments using Hoverfly to mock non-sensitive test APIs face minimal data exposure versus those proxying production-like requests with real credentials; (3) WebSocket client capability: Attacker needs basic WebSocket protocol support (trivial with standard tools). Default Hoverfly deployments following security best practices bind admin interfaces to localhost and operate in isolated networks, which prevents remote exploitation despite the authentication bypass. |
| Impact | CVSS 7.8 (High) primarily reflects unauthenticated network accessibility and high confidentiality impact (VC:H) with limited integrity impact (VI:L). However, real-world exploitation risk is moderate-to-low based on multiple factors. EPSS score of 0.17% (38th percentile) indicates less than 1-in-500 probability of exploitation in the wild within 30 days - significantly below the baseline for widely-targeted vulnerabilities. Absence from CISA KEV confirms no federal agency compromises or widespread campaign observed. Publicly available exploit code (GitHub advisory with POC) lowers the technical barrier but hasn't translated to mass exploitation, likely because: (1) Hoverfly admin interfaces are typically deployed in internal development/testing networks rather than internet-exposed production; (2) log data value varies dramatically by deployment context; (3) the tool's niche use case limits attacker ROI compared to broader infrastructure targets. The CVSS vector E:P (Proof-of-concept exists) aligns with observed POC availability. Primary risk exists in scenarios where Hoverfly admin endpoints are inadvertently exposed to untrusted networks (cloud misconfigurations, overly permissive firewall rules) or where logs contain API keys, authentication tokens, or PII from proxied requests. Organizations using Hoverfly purely in isolated lab environments face minimal risk; those using it in shared staging environments accessible by multiple teams face elevated information disclosure risk. |
| Exploit ScenarioDerived | An attacker scans internal staging networks or misconfigured cloud environments and discovers Hoverfly instances with exposed admin ports (typically 8888 or 8500). Without authentication, they establish a WebSocket connection to /api/v2/ws/logs and passively collect real-time log streams. Over hours or days, the attacker accumulates internal API endpoints, database connection strings logged during testing, OAuth tokens from proxied authentication flows, and internal file system paths revealing application architecture. With this reconnaissance data, they escalate to targeted attacks against backend services or credential stuffing against discovered authentication endpoints. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 29, 2026
Unauthenticated remote attackers can stream real-time application logs from Hoverfly API simulation tool (versions ≤1.11.3) via an unprotected WebSocket endpoint at /api/v2/ws/logs, exposing internal file paths, request/response bodies, and other sensitive operational data. Public exploit code exists (EPSS: 0.17%, percentile 38th - indicating low observed exploitation probability despite POC availability). Vendor-released patch available in version 1.12.0. Not listed in CISA KEV, suggesting limited widespread exploitation despite network-accessible attack surface with no authentication barrier.
Earlier versions of this analysis (1)
Hoverfly is an open source API simulation tool. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.
RemediationAI
Upgrade to Hoverfly version 1.12.0, which applies authentication middleware to the /api/v2/ws/logs WebSocket endpoint (fix commit: https://github.com/SpectoLabs/hoverfly/commit/ffc2cc34563de67fe1a04f7ba5d78fa2d4564424). For environments unable to upgrade immediately: (1) Block network access to /api/v2/ws/logs at the reverse proxy or firewall level - allows continued REST API operation while closing WebSocket exposure, but breaks any legitimate log streaming integrations; (2) Restrict Hoverfly admin interface access to localhost/127.0.0.1 only via configuration or network controls - prevents remote exploitation but limits multi-host monitoring; (3) Deploy Hoverfly instances in network segments isolated from untrusted users and internet exposure - reduces attack surface but requires network segmentation overhead. Review existing Hoverfly logs for unexpected WebSocket connections from unknown source IPs as potential compromise indicator. No workaround fully eliminates risk without functional trade-offs; upgrading to 1.12.0 is the complete solution.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hoverfly is a lightweight API simulation and service virtualization tool commonly used in development and testing environments to mock HTTP services. The vulnerability exists in the admin WebSocket implementation at /api/v2/ws/logs, which provides real-time streaming of application logs. Unlike the REST admin API endpoints that enforce authentication middleware, this WebSocket endpoint lacks the same protection layer. Classified as CWE-200 (Information Exposure), the flaw represents a classic authentication bypass scenario where security controls applied to one interface (REST) were not consistently extended to another communication channel (WebSocket). The CVSS vector AV:N/AC:L/PR:N indicates the endpoint is directly reachable over network protocols without requiring attacker authentication or complex setup. The affected product CPE (cpe:2.3:a:hoverfly:hoverfly:*:*:*:*:*:*:*:*) confirms all versions through 1.11.3 share this architectural weakness.
Know when Hoverfly gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
5DescriptionGitHub Advisory
Hoverfly is an open source API simulation tool. In versions 1.11.3 and prior, Hoverfly’s admin WebSocket endpoint /api/v2/ws/logs is not protected by the same authentication middleware that guards the REST admin API. Consequently, an unauthenticated remote attacker can stream real-time application logs (information disclosure) and/or gain insight into internal file paths, request/response bodies, and other potentially sensitive data emitted in logs. Version 1.12.0 contains a fix for the issue.
Executive ViewAI
Hoverfly API simulation tool versions 1.11.3 and earlier contain an unauthenticated WebSocket vulnerability exposing real-time application logs, including internal file paths and request/response data to any network-connected attacker. Organizations using Hoverfly in development, testing, or staging environments risk unauthorized disclosure of sensitive operational and application data without authentication requirements or user interaction.
Apply vendor patch to version 1.12.0 or later. Until patching is complete: implement network-level access controls restricting connectivity to the /api/v2/ws/logs WebSocket endpoint to authenticated and authorized users only; deploy WAF or API gateway rules to block unauthenticated WebSocket requests; isolate affected Hoverfly instances to internal networks with no direct internet routing.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)GitHub Advisory
Hoverfly API simulation tool version 1.11.3 and prior contains a command injection vulnerability in the middleware manag
Hoverfly is a lightweight service virtualization/ API simulation / API mocking tool for developers and testers. Rated hi
Same weakness CWE-200 – Information Exposure
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/toolbox:latest Image SL-Micro Image SL-Micro-Base Image SL-Micro-Base-RT Image SL-Micro-Base-RT-SelfInstall Image SL-Micro-Base-RT-encrypted Image SL-Micro-Base-SelfInstall Image SL-Micro-Base-encrypted Image SL-Micro-Base-qcow Image SL-Micro-Default Image SL-Micro-Default-SelfInstall Image SL-Micro-Default-encrypted Image SL-Micro-Default-qcow Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE | Affected |
| openSUSE Tumbleweed | Fixed |
NVD
CVE.org
EPSS
GitHub
Exploit-DB