GHSA-j4c5-89f5-f3pm: openclaw: SSRF policy bypass in CDP browser profile creation
GHSA-j4c5-89f5-f3pmLOWOpenClaw's browser profile creation accepted arbitrary CDP URLs without validating them against the configured SSRF policy, meaning a stored profile could later probe internal network or cloud metadata endpoints during routine status checks. This only affects deployments where operators explicitly enabled strict-mode SSRF restrictions — default configurations allow private-network CDP endpoints and are not impacted. With only 4 downstream dependents, no public exploit, and no CISA KEV entry, active exploitation in the wild is unlikely; however, cloud-hosted deployments with access to instance metadata services (AWS IMDS, GCP metadata) face elevated credential exposure risk if profile creation is accessible to untrusted users. Strict-mode deployments should upgrade to openclaw 2026.4.20 immediately; no workaround exists short of blocking untrusted profile creation or restricting outbound connectivity from the CDP reachability flow at the network layer.
What is the risk?
Low overall risk with a narrow but meaningful blast radius in cloud-hosted strict-mode deployments. Exploitability requires an attacker to have access to the browser profile creation endpoint and knowledge that strict-mode SSRF is configured — a non-trivial prerequisite. No EPSS score, no public exploit, and no active exploitation evidence reduce urgency. Notably, this package carries 135 historical CVEs, signaling systemic security debt. Cloud deployments where the OpenClaw process has IMDS access warrant higher priority patching given the credential exfiltration potential.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| OpenClaw | npm | < 2026.4.20 | 2026.4.20 |
Do you use OpenClaw? You're affected.
How severe is it?
What should I do?
5 stepsUpgrade openclaw (npm) to version 2026.4.20 (patched).
Audit all existing stored browser profiles for CDP URLs pointing at RFC-1918 ranges, link-local addresses (169.254.0.0/16), or known metadata endpoints.
Restrict browser profile creation to trusted operators in multi-tenant or user-facing deployments.
Add network-layer egress controls blocking outbound CDP connectivity to internal address ranges from the openclaw process.
Review application logs for unexpected CDP reachability check traffic to internal endpoints as an indicator of prior exploitation.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is GHSA-j4c5-89f5-f3pm?
OpenClaw's browser profile creation accepted arbitrary CDP URLs without validating them against the configured SSRF policy, meaning a stored profile could later probe internal network or cloud metadata endpoints during routine status checks. This only affects deployments where operators explicitly enabled strict-mode SSRF restrictions — default configurations allow private-network CDP endpoints and are not impacted. With only 4 downstream dependents, no public exploit, and no CISA KEV entry, active exploitation in the wild is unlikely; however, cloud-hosted deployments with access to instance metadata services (AWS IMDS, GCP metadata) face elevated credential exposure risk if profile creation is accessible to untrusted users. Strict-mode deployments should upgrade to openclaw 2026.4.20 immediately; no workaround exists short of blocking untrusted profile creation or restricting outbound connectivity from the CDP reachability flow at the network layer.
Is GHSA-j4c5-89f5-f3pm actively exploited?
No confirmed active exploitation of GHSA-j4c5-89f5-f3pm has been reported, but organizations should still patch proactively.
How to fix GHSA-j4c5-89f5-f3pm?
1. Upgrade openclaw (npm) to version 2026.4.20 (patched). 2. Audit all existing stored browser profiles for CDP URLs pointing at RFC-1918 ranges, link-local addresses (169.254.0.0/16), or known metadata endpoints. 3. Restrict browser profile creation to trusted operators in multi-tenant or user-facing deployments. 4. Add network-layer egress controls blocking outbound CDP connectivity to internal address ranges from the openclaw process. 5. Review application logs for unexpected CDP reachability check traffic to internal endpoints as an indicator of prior exploitation.
What systems are affected by GHSA-j4c5-89f5-f3pm?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, browser automation agents, multi-tenant AI agent platforms.
What is the CVSS score for GHSA-j4c5-89f5-f3pm?
No CVSS score has been assigned yet.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0006Active ScanningAML.T0049Exploit Public-Facing ApplicationAML.T0053AI Agent Tool InvocationAML.T0083Credentials from AI Agent ConfigurationCompliance Controls Affected
What are the technical details?
Original Advisory
## Affected Packages / Versions - Package: `openclaw` (npm) - Affected versions: `< 2026.4.20` - Patched version: `2026.4.20` ## Impact Browser profile creation normalized `cdpUrl` values before persisting them, but did not apply the configured browser SSRF policy at creation time. In deployments that explicitly disabled private-network CDP targets, a stored profile could still point at a private-network or metadata endpoint and later be probed by normal profile status flows. Default trusted-operator browser behavior allows private-network CDP endpoints, so this only affected strict-mode deployments. Severity is low. ## Fix OpenClaw now checks CDP endpoints against the browser SSRF policy during profile creation and reachability operations. Fix commits: - `1fd049e3074cac72f6734a7fe88468c84f5f8bd7` - `e90c89cf8b1459f2aa1f3a665be67392b6c03fdf` ## Release Fixed in OpenClaw `2026.4.20`.
Exploitation Scenario
An attacker with access to the browser profile creation API — whether a compromised operator, a malicious user in a multi-tenant deployment, or an LLM prompt injection that coerces the agent to create a profile — submits a CDP URL set to the cloud instance metadata service (http://169.254.169.254/latest/meta-data/iam/security-credentials/). Since the SSRF policy is not enforced at creation time, the profile is persisted. When OpenClaw performs routine profile status and reachability checks, it issues an HTTP request to the metadata endpoint. The response containing IAM credentials or session tokens may surface in error logs, response caching, or a secondary read operation, enabling privilege escalation outside the AI agent environment.
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.
- [Implementation, Operation] If there is a known list of applications, IP, hostname, and/or domains to which the product is allowed to communicate, then use allowlists to ensure that outgoing requests are restricted to these known entities. The allowlists could be in the application code or possibly enforced by firewalls or network segmentation [REF-1511].
- [Implementation, Operation] If the product is expected to be able to connect to arbitrary IP addresses or domains, consider using a denylist that includes private network addresses, internal domain names, etc. The denylist could be in the application code or possibly enforced by firewalls or network segmentation [REF-1511].
Source: MITRE CWE corpus.
References
Timeline
Related Vulnerabilities
CVE-2026-221729.9OpenClaw: WebSocket scope self-elevation grants admin
Same package: openclawCVE-2026-335799.9OpenClaw: scope bypass escalates low-priv to admin
Same package: openclawCVE-2026-329229.9OpenClaw: privilege escalation to RCE via token scope bypass
Same package: openclawCVE-2026-320389.8OpenClaw: sandbox bypass enables container lateral movement
Same package: openclawCVE-2026-538389.8OpenClaw: approval scope bypass via reconnection state
Same package: openclaw