Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify host running keploy agent on known port
-
DeliverySend unauthenticated HTTP GET to /agent/pcap/keylog
-
ExploitReceive streaming NSS keylog TLS session keys
-
ExecutionImport keys into Wireshark with captured traffic
-
ImpactDecrypt recorded application TLS sessions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The keploy agent must be actively running in record or replay mode, which is what starts the control-plane HTTP server. In native mode on affected versions, the server binds to 0.0.0.0 on the agent port, making it reachable by any local or network-adjacent process - including other users on a shared CI host or attackers with access to the host's network segment. In Docker mode, exposure extends to the host network if the container port is published to 0.0.0.0 (which was the pre-fix default behavior in GenerateKeployAgentService). No credentials, elevated privileges, or user interaction are required once network connectivity to the agent port is established. Exploitation is limited to: (1) deployments actually running the keploy agent process (not passive keploy CLI invocations without agent mode), and (2) environments where the agent port is reachable from an untrusted network context - a developer laptop on an isolated local network with no external exposure faces negligible network-layer risk. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L) correctly characterizes this as a low-complexity, unauthenticated network attack with high confidentiality impact - the exposure of TLS session keys is as sensitive as it gets for a traffic-interception tool, since key material enables retroactive decryption of any traffic captured while the agent was running. The integrity and availability impacts are appropriately rated low, reflecting that /agent/stop and /agent/storemocks allow session disruption but not persistent system compromise. No EPSS score was provided in the input, so exploitation probability cannot be quantified numerically. The absence of KEV listing and public POC suggests exploitation has not been observed at scale, though the attack technique is trivial - a single unauthenticated GET request. Practical risk is highest in CI/CD environments where the keploy agent port is inadvertently exposed beyond the test host, or in shared developer machines where local processes from other users could reach the endpoint. |
| Exploit ScenarioDerived | An attacker with network access to a CI/CD runner or developer workstation running keploy agent in affected versions sends a plain HTTP GET to /agent/pcap/keylog on the agent's configured port - no credentials required. The response streams NSS SSLKEYLOGFILE-format TLS session key lines, which the attacker imports into Wireshark alongside previously captured pcap files to decrypt recorded application TLS sessions, exposing API tokens, session cookies, or other sensitive data in transit. No public exploit code has been identified at time of analysis, but the attack requires only curl and a packet capture, both standard on developer systems. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
Unauthenticated exposure of live TLS session keys in Keploy 3.1.0-3.6.25 allows any network-reachable attacker to decrypt recorded application TLS traffic by calling the agent control-plane's /agent/pcap/keylog endpoint, which streams NSS keylog lines without any authentication gate. The root cause is the agent HTTP server binding to 0.0.0.0 (all interfaces) rather than loopback, as confirmed by the patch commit diff. Additional endpoints /agent/stop and /agent/storemocks allow unauthenticated manipulation of test recording sessions. No public exploit code or CISA KEV listing has been identified at time of analysis, though exploitation requires only a standard HTTP client.
RemediationAI
Upgrade to a version of Keploy incorporating patch commit a6257d2b3184b85eb30edad345464aa292297b83 (https://github.com/keploy/keploy/commit/a6257d2b3184b85eb30edad345464aa292297b83), which restricts the agent server to loopback (127.0.0.1) in native mode and restricts Docker port publishing to the host's loopback interface. The patch is available per vendor, but no specific patched release version number was confirmed in the available references - verify the first tagged release after this commit in the Keploy GitHub repository (https://github.com/keploy/keploy) before deploying. As a compensating control prior to patching in native mode, apply host-based firewall rules (iptables/nftables) blocking external inbound access to the keploy agent port; note this does not protect against local multi-user scenarios where other system users can reach 0.0.0.0. For Docker deployments, change the port publish to -p 127.0.0.1:PORT:PORT to restrict host-side exposure to loopback, which mirrors the fix's intent in GenerateKeployAgentService.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Keploy is an open-source Go-based API testing and mocking framework that intercepts application traffic at the network layer to auto-generate test cases and mocks. The agent component runs a control-plane HTTP server (implemented in pkg/agent/routes/server.go) that orchestrates packet capture, TLS key logging via the NSS keylog format, and mock storage. In affected versions 3.1.0-3.6.25, the StartAgentServer function used fmt.Sprintf(":%d", port) which binds to the unspecified address 0.0.0.0, making the server reachable on all network interfaces. CWE-306 (Missing Authentication for Critical Function) precisely captures the root cause: the /agent/pcap/keylog endpoint streams live TLS session key material - specifically NSS SSLKEYLOGFILE-format lines usable directly by Wireshark - with zero authentication. The affected CPE is cpe:2.3:a:keploy:keploy:*:*:*:*:*:*:*:*. The patch commit a6257d2b3184b85eb30edad345464aa292297b83 introduces a new agentBindAddr() function that returns 127.0.0.1:port in native mode and :port in Docker mode (with host-side exposure instead controlled at the docker port publish layer).
Know when Keploy 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:L/SC:N/SI:N/SA:N
Network-reachable unauthenticated endpoint (AV:N/PR:N/AC:L); no scope change; high confidentiality from TLS key exfiltration; low integrity/availability from session manipulation only.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
keploy versions 3.1.0 through 3.6.25 bind the agent control-plane HTTP server to all interfaces without authentication, exposing endpoints that stream TLS session keys and traffic data. Attackers can access the /agent/pcap/keylog endpoint to retrieve NSS keylog lines and decrypt recorded TLS traffic, or invoke /agent/stop and /agent/storemocks to manipulate recording sessions.
Technical POC Analysis
GHSA-p79c-x224-cv8h rates this CVSS 3.1 8.6 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L); the 8.8 in the header does not match the advisory text supplied.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-68217
GHSA-wjmh-q7rf-cj53
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB