The openclaw npm package contains an SSRF-style vulnerability where a browser profile trusts a malicious CDP /json/version response whose webSocketDebuggerUrl points to an arbitrary second-hop host, allowing the agent to establish WebSocket connections to untrusted internal targets without validation. With only 4 known downstream dependents, no CISA KEV entry, and no public exploit available, the immediate blast radius is contained — but the same package carries 135 prior CVEs and a documented real-world incident of credential theft via malicious skills (AIID #1368), signaling systemic security debt that elevates risk beyond what medium severity alone implies. Organizations running AI agents or browser automation workflows on openclaw should upgrade immediately to version 2026.4.5 or later (latest stable: 2026.4.14) and apply egress network controls restricting CDP WebSocket connections to known browser endpoints.
What is the risk?
Medium risk with elevated contextual concern. The SSRF pivot via CDP WebSocket can expose cloud instance metadata services (AWS/GCP/Azure IMDSv1), internal orchestration APIs, and adjacent microservices from the agent's network position — particularly dangerous in containerized or cloud-deployed AI agent infrastructure. No EPSS data is available and exploitation requires control over a CDP endpoint or browser profile, keeping near-term exploitation likelihood moderate. However, the pattern of 135 CVEs in this package and a real-world credential exfiltration incident in the same ecosystem (AIID #1368) indicate that openclaw represents a high-risk dependency for AI agent pipelines regardless of individual CVE severity.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| OpenClaw | npm | < 2026.4.5 | 2026.4.5 |
Do you use OpenClaw? You're affected.
How severe is it?
What should I do?
6 steps-
Upgrade openclaw to version 2026.4.5 or later immediately; 2026.4.14 is the current latest stable release containing the fix.
-
Audit CDP WebSocket connection logs for outbound connections to non-localhost or unexpected hosts — the fix normalizes and re-validates WebSocket targets before connecting.
-
In containerized AI agent deployments, enforce network egress policies restricting CDP WebSocket connections to known browser host:port pairs only.
-
If patching is not immediately possible, block outbound access from openclaw processes to cloud metadata endpoints (169.254.169.254, fd00:ec2::254) and internal RFC 1918 address ranges via host firewall.
-
Review and inventory all third-party CDP endpoints configured in openclaw profiles — each represents a potential SSRF entry point.
-
Monitor for unexpected WebSocket handshake attempts to internal hosts in agent process network logs.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is GHSA-f7fh-qg34-x2xh?
The openclaw npm package contains an SSRF-style vulnerability where a browser profile trusts a malicious CDP /json/version response whose webSocketDebuggerUrl points to an arbitrary second-hop host, allowing the agent to establish WebSocket connections to untrusted internal targets without validation. With only 4 known downstream dependents, no CISA KEV entry, and no public exploit available, the immediate blast radius is contained — but the same package carries 135 prior CVEs and a documented real-world incident of credential theft via malicious skills (AIID #1368), signaling systemic security debt that elevates risk beyond what medium severity alone implies. Organizations running AI agents or browser automation workflows on openclaw should upgrade immediately to version 2026.4.5 or later (latest stable: 2026.4.14) and apply egress network controls restricting CDP WebSocket connections to known browser endpoints.
Is GHSA-f7fh-qg34-x2xh actively exploited?
No confirmed active exploitation of GHSA-f7fh-qg34-x2xh has been reported, but organizations should still patch proactively.
How to fix GHSA-f7fh-qg34-x2xh?
1. Upgrade openclaw to version 2026.4.5 or later immediately; 2026.4.14 is the current latest stable release containing the fix. 2. Audit CDP WebSocket connection logs for outbound connections to non-localhost or unexpected hosts — the fix normalizes and re-validates WebSocket targets before connecting. 3. In containerized AI agent deployments, enforce network egress policies restricting CDP WebSocket connections to known browser host:port pairs only. 4. If patching is not immediately possible, block outbound access from openclaw processes to cloud metadata endpoints (169.254.169.254, fd00:ec2::254) and internal RFC 1918 address ranges via host firewall. 5. Review and inventory all third-party CDP endpoints configured in openclaw profiles — each represents a potential SSRF entry point. 6. Monitor for unexpected WebSocket handshake attempts to internal hosts in agent process network logs.
What systems are affected by GHSA-f7fh-qg34-x2xh?
This vulnerability affects the following AI/ML architecture patterns: Agent frameworks, Browser automation pipelines, CDP-orchestrated AI agents, Cloud-deployed AI agent infrastructure, Multi-tenant AI agent platforms.
What is the CVSS score for GHSA-f7fh-qg34-x2xh?
No CVSS score has been assigned yet.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0049 Exploit Public-Facing Application AML.T0053 AI Agent Tool Invocation Compliance Controls Affected
What are the technical details?
Original Advisory
## Summary CDP /json/version WebSocket URL could pivot to untrusted second-hop targets. ## Affected Packages / Versions - Package: `openclaw` - Ecosystem: npm - Affected versions: `< 2026.4.5` - Patched versions: `>= 2026.4.5` ## Impact A browser profile could trust a CDP `/json/version` response whose `webSocketDebuggerUrl` pointed at a different host, enabling a second-hop SSRF-style pivot. ## Technical Details The fix normalizes and re-validates direct CDP WebSocket targets before connecting. ## Fix The issue was fixed in #60469. The first stable tag containing the fix is `v2026.4.5`, and `openclaw@2026.4.14` includes the fix. ## Fix Commit(s) - `bc356cc8c2beaa747c71dd86cceab8f804699665` - PR: #60469 ## Release Process Note Users should upgrade to `openclaw` 2026.4.5 or newer. The latest npm release, `2026.4.14`, already includes the fix. ## Credits Thanks to @tdjackey for reporting this issue.
Exploitation Scenario
An adversary controlling a malicious CDP server — reachable via a poisoned browser profile or a compromised shared CDP infrastructure endpoint — responds to openclaw's /json/version request with a crafted payload where webSocketDebuggerUrl is set to an internal target such as http://169.254.169.254/latest/meta-data/ in AWS or an internal model serving API. Pre-patch openclaw accepts the URL without re-validating the target host and opens a WebSocket connection to the second-hop target, routing requests from inside the agent's network boundary. In a cloud-deployed AI agent pipeline, this allows the adversary to retrieve IAM credentials from the metadata service, which can then be used to escalate privileges within the cloud environment, access model weights in S3, or pivot to other AI infrastructure components. The attack requires influencing a CDP /json/version response, achievable by compromising a shared browser profile, deploying a rogue CDP endpoint, or performing a network-level MITM on an unencrypted CDP connection.
Weaknesses (CWE)
CWE-918 — Server-Side Request Forgery (SSRF): The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Source: MITRE CWE corpus.
References
Timeline
Related Vulnerabilities
CVE-2026-33579 9.9 Analysis pending
Same package: openclaw CVE-2026-32922 9.9 Analysis pending
Same package: openclaw CVE-2026-32038 9.8 Analysis pending
Same package: openclaw CVE-2026-30741 9.8 OpenClaw: RCE via request-side prompt injection
Same package: openclaw CVE-2026-53838 9.8 OpenClaw: approval scope bypass via reconnection state
Same package: openclaw