/

CVE-2026-100567

Severity:

HIGH RISK

(8.2)

SSRF (CWE-918) in OpenClaw Remote CDP Gateway Validation

CVE-2026-100567

Deferred

Vulnerability type

Category:

Server-Side Request Forgery

CWE:

CWE-918

Impact:

Unauthorized network access and sensitive-service exposure

Severity:

HIGH RISK

(8.2)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A server-side request forgery vulnerability in OpenClaw's remote Chrome DevTools Protocol gateway allows DNS rebinding to bypass hostname-based address restrictions. If an attacker controls an approved CDP hostname or its DNS responses, the Gateway may connect to loopback, private, link-local, cloud metadata, or other restricted services.

Affected context

The issue occurs in OpenClaw deployments that use hostname-based remote CDP endpoints with the raw WebSocket or Playwright transport. It becomes possible when validation resolves and approves a hostname separately from the later connection, allowing the DNS answer to change between those operations. Actual exposure depends on the configured endpoint, DNS control, network reachability, and services available from the Gateway host.

Exploit preconditions

  • Attack surface: OpenClaw's remote CDP connection functionality
  • Required access: Ability to control an approved CDP hostname or influence its DNS answers
  • Trigger point: The later WebSocket or Playwright connection after hostname validation
  • Why exploitation is possible: Validation and connection perform independent DNS resolutions, creating a check-then-use gap that can redirect the connection to a policy-denied address

Why this happens

The Gateway validates one DNS resolution result and then performs a separate resolution when establishing the actual transport connection. Because the validated address is not securely bound to the address used by the connection, an attacker-controlled DNS response can change between the check and use. This is a time-of-check-to-time-of-use access-control flaw involving network destinations and maps to CWE-918, Server-Side Request Forgery.

Potential impact

  • The Gateway may connect to services on loopback or private network interfaces
  • Cloud instance metadata or other link-local services could be exposed
  • Internal administrative interfaces may receive unintended requests
  • Credentials, tokens, or service data may be disclosed
  • The attacker could use the Gateway host as a pivot into reachable networks
  • Availability or integrity of reachable services could be affected

General mitigation guidance

Mitigation generally focuses on binding destination validation to the exact

address used for connection establishment and reducing trust in

attacker-controlled DNS.

Common defensive patterns include:

  • Resolve the hostname once and use the validated address for the connection
  • Revalidate every resolved address immediately before use, including redirects or retries
  • Apply network egress controls that deny loopback, private, link-local, metadata, and other reserved destinations
  • Prefer trusted, stable infrastructure or explicitly allowlisted destination addresses
  • Disable hostname-based remote CDP endpoints when they are not required
  • Run the Gateway with least-privilege network access and limited service credentials
  • Avoid relying on DNS names alone as a security boundary

How teams detect issues like this

Organizations can look for:

  • Static analysis and code review findings where DNS validation is separated from socket or WebSocket connection logic
  • Network libraries that resolve a hostname independently for validation and transport establishment
  • Missing checks for loopback, private, link-local, multicast, and cloud metadata ranges
  • Runtime telemetry showing CDP connections to destinations that differ from the validated address
  • Egress firewall or proxy alerts for Gateway traffic to internal and metadata endpoints
  • Policy checks requiring destination pinning, address revalidation, and restricted outbound network access

Automated security review tools may help identify check-then-use patterns and incomplete SSRF defenses.

Sources

SourceLink
github.comgithub.com/openclaw/openclaw/security/advisories/GHSA-p3h6-v2h4-36q2
vulncheck.comvulncheck.com/advisories/openclaw-before-2026.8.1-dns-rebinding-via-cdp-hostname

Frequently asked

questions

It can be exploitable through the Gateway's network access when remote CDP

functionality is enabled and an attacker can control an approved hostname or

its DNS responses. It is not generally exposed when remote CDP endpoints are

not configured.

The attacker needs control over the configured hostname, authoritative DNS

responses, or another mechanism that can influence its resolution. The

attacker also benefits from the Gateway being able to reach a restricted

internal or local service.

Bind validation to the exact address used by the transport, enforce

destination filtering at connection time, and prefer trusted stable

infrastructure over attacker-influenced hostnames.

Treat DNS as changeable input, enforce layered egress controls, test every

connection path—including WebSocket and browser automation transports—and

monitor for requests to reserved or internal address ranges.

Find out what's already
exploitable in your codebase.