/

CVE-2026-62227

Severity:

HIGH RISK

(7.7)

Server-Side Request Forgery (CWE-918) in OpenClaw

CVE-2026-62227

Analyzed

Vulnerability type

Category:

Server-Side Request Forgery

CWE:

CWE-918

Impact:

Policy Bypass and Unauthorized Network Access

Severity:

HIGH RISK

(7.7)

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

OpenClaw 2026.4.14 before 2026.5.26 contain a server-side request forgery flaw in browser snapshot routes that do not validate destinations after navigation.

Attackers with lower-trust access can coerce the server into issuing outbound requests that bypass OpenClaw's own policy checks, potentially reaching internal or blocked network resources.

Affected context

This vulnerability appears in OpenClaw deployments that expose browser-based snapshot or capture routes to users with differentiated trust levels.

The issue is triggered when a snapshot workflow allows the server-side browser to follow redirects or scripted navigations without re-applying destination validation.

Environments with internal services, restricted endpoints, or network policies enforced through OpenClaw's routing logic are more susceptible, as SSRF can turn the OpenClaw server into a proxy to those protected locations.

Exploit preconditions

  • Attack surface: Browser snapshot HTTP routes or APIs that accept user-controlled URLs or navigation instructions.
  • Required access: Lower-trust or non-admin access capable of submitting snapshot requests or manipulating post-navigation destinations.
  • Trigger point: When the server-side browser completes navigation and performs further network requests (e.g., fetching resources, following redirects) without re-validating the effective target.
  • Why exploitation is possible: Destination validation is applied incompletely—often only on the initial URL—so subsequent navigations or resolved endpoints can bypass OpenClaw's policy filters, enabling SSRF to internal or blocked network locations.

Why this happens

The underlying flaw is incomplete validation of server-initiated outbound requests in a context where users can influence navigation behavior.

In SSRF scenarios (CWE-918), the server trusts user-provided URLs or redirect chains and uses its own network position to access resources on the user's behalf.

Here, snapshot routes validate the starting point but fail to consistently enforce policy on the final or post-navigation destination, allowing an attacker to pivot the server's browser to targets that should remain unreachable.

This pattern reflects a broader bug class where access controls and network policies are applied only at the initial request rather than across the full lifecycle of server-driven navigations.

Potential impact

  • Attackers may access internal services that are otherwise not exposed externally.
  • Attackers could bypass OpenClaw network policies and reach blocked domains or IP ranges.
  • Attackers can potentially enumerate internal network structure via timing, response codes, or error messages.
  • Attackers could interact with metadata services or management endpoints, which may lead to further compromise.
  • Attackers may use the SSRF channel as a stepping stone for more advanced attacks, such as credential theft or configuration manipulation.

General mitigation guidance

Effective mitigation focuses on tightening control over server-originated requests and neutralizing user-driven navigation flexibility.

Recommended patterns include:

  • Applying strict, centralized validation to every outbound request, not just the initial URL, including post-redirect and post-navigation destinations.
  • Implementing allowlist-based network egress rules so server-side browsers can reach only approved domains or subnets, regardless of user input.
  • Normalizing and resolving URLs before use, and re-checking them against policy after redirects or client-side navigation changes.
  • Segregating sensitive internal services behind network controls that do not depend solely on application-level filtering.
  • Reducing the scope of features that permit arbitrary URL input or dynamic navigation, especially for lower-trust users.

These patterns help ensure that even if user-driven navigation occurs, the server cannot be abused as a proxy to unintended network targets.

How teams detect issues like this

Detection generally involves identifying server-side HTTP clients that act on user-controlled destinations without robust policy enforcement.

Useful approaches include:

  • Static analysis rules that flag use of HTTP clients or headless browsers where URLs originate from request parameters and are not consistently validated against a central policy function.
  • Code review practices that scrutinize snapshot, capture, or proxy-like routes for redirect handling, post-navigation URL checks, and enforcement gaps.
  • Instrumentation and logging of outbound requests, including source route, user identity, effective destination, and redirect chains, with anomaly detection for unexpected internal or blocked addresses.
  • Policy enforcement in CI/CD to ensure new or modified routes adhere to allowlists or egress control patterns before deployment.
  • Optional use of automated security testing tools that simulate SSRF attempts against snapshot or capture endpoints and monitor observed network behavior.

Sources

SourceLink
github.comgithub.com/openclaw/openclaw/security/advisories/GHSA-2x93-h3hg-2xfp
vulncheck.comvulncheck.com/advisories/openclaw-ssrf-via-browser-snapshot

Frequently asked

questions

Yes. Any user who can reach the browser snapshot routes and provide or influence navigation targets can exploit the SSRF behavior, even without direct access to the internal network, because the server issues the requests on their behalf.

Exploitation requires lower-trust or standard application access to the affected snapshot or capture functionality. Administrative privileges are not necessary; the critical factor is the ability to submit URLs or navigation instructions consumed by the server-side browser.

The safest pattern is centralizing outbound request validation and applying it uniformly to all destinations, including those reached via redirects or post-navigation changes, combined with allowlist-based egress controls that limit where the server can connect.

Future prevention should focus on designing any proxy, snapshot, or server-driven browsing features with strict destination validation, URL normalization, and network-layer egress controls, alongside regular security review of components that accept user-controlled URLs or navigation inputs.

Find out what's already
exploitable in your codebase.