AgentbeamBeta
AI agent vulnerability · OpenClaw

GHSA-8cp7-rp8r-mg77: OpenClaw has SSRF guard bypass via IPv6 transition over ISATAP

mediumCVSS 4.0 6.9

OpenClaw from 2026.1.20 up to but not including 2026.2.19 does not recognise ISATAP IPv6 addresses that embed a private IPv4 address. A crafted URL can slip loopback or internal targets past the private-address filter in URL-fetching paths. Upgrade the npm package openclaw to 2026.2.19.

Published Mar 4, 2026 · Analysis Nov 7, 2026

What an attacker can do

OpenClaw's shared SSRF classifier decides whether a hostname or IP is private. It handled several IPv6 forms, but not ISATAP addresses, which embed an IPv4 address after the :5efe: marker, as in ...:5efe:w.x.y.z (RFC 5214). A URL that holds such a literal with an embedded loopback or private IPv4 address looked public to the filter, and fetch paths that relied on it let the request through.

The attacker needs to supply a URL to a path that fetches it, for example through a prompt or a page the agent reads. Whether the request then reaches the internal target depends on the host's network stack handling ISATAP addresses, which the advisory does not discuss. The maintainers rate it medium (CVSS 4.0 of 6.9, low integrity impact) because the effect is constrained to access attempts against internal network targets.

The advisory notes the policy context from SECURITY.md: the web and gateway surface is meant for local use by default, public exposure is out of scope, and prompt-injection reports are out of scope. The fix adds ISATAP embedded-IPv4 detection and sends hostname and IP blocking through one function, isBlockedHostnameOrIp.

Who is affected

The npm package openclaw, from 2026.1.20 up to but not including 2026.2.19. The advisory says 2026.2.17 was the latest release at patch time. Check the version:

npm ls openclaw

The flaw matters when the agent can be handed URLs to fetch and the host can reach internal services.

openclaw

Ecosystem
npm
Affected
>= 2026.1.20, < 2026.2.19
Fixed in
2026.2.19
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.2.19:

npm install [email protected]

The fix, in commit d51929ecb52fe65e90bf36795f4247feb29eb8aa, adds RFC 5214 ISATAP detection to the shared classifier, centralizes blocking in isBlockedHostnameOrIp, and adds regression tests for private and public embedded addresses. The advisory lists no workaround.

How to tell if you were hit

Search proxy and agent logs for fetched URLs containing an IPv6 literal with :5efe: in it. Look at egress logs from the OpenClaw host for connections to loopback or internal addresses that an agent fetch could have caused. Beam records agent shell commands and MCP tool calls, but URL fetches happen inside OpenClaw, so URL and network logs are the main evidence.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

OpenClaw's SSRF hostname/IP guard did not detect ISATAP embedded IPv4 addresses (...:5efe:w.x.y.z). A crafted URL containing an ISATAP IPv6 literal could embed a private IPv4 target (for example loopback) and bypass private-address filtering in URL-fetching paths.

Severity Assessment

Rated medium: the bug weakens SSRF protections in URL fetch flows, but impact depends on reaching a URL-fetching path with attacker-controlled input and is generally constrained to internal network access attempts.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected: >=2026.1.20 <=2026.2.17
  • Latest published at patch time: 2026.2.17
  • Patched release: 2026.2.19

Security Policy Context

Per SECURITY.md, OpenClaw's web/gateway surface is intended for local use by default, public internet exposure is out-of-scope, and prompt-injection reports are out-of-scope for bounty handling. This advisory tracks a core SSRF-guard bypass in fetch protections.

Impact

This can permit SSRF-style access attempts to internal/private network targets through URL ingestion/fetch paths that rely on shared hostname/IP blocking.

Fix

  • Added RFC 5214 ISATAP embedded-IPv4 detection to the shared SSRF classifier.
  • Centralized hostname/IP blocking through isBlockedHostnameOrIp and routed relevant validators to that shared path.
  • Added regression tests for ISATAP private vs public embedded IPv4 handling.

Fix Commit(s)

  • d51929ecb52fe65e90bf36795f4247feb29eb8aa

OpenClaw thanks @zpbrent for reporting.

Credited to zpbrent.

Questions

What is an ISATAP address?

An IPv6 transition address, defined in RFC 5214, that embeds an IPv4 address after :5efe:. OpenClaw's filter did not extract that IPv4 address to check whether it was private.

Which versions are affected by GHSA-8cp7-rp8r-mg77?

2026.1.20 up to but not including 2026.2.19.

Is it a serious flaw?

The maintainers rate it medium. It needs a URL-fetching path with attacker input and mostly allows access attempts against internal targets.

Is it exploited in the wild?

The advisory does not say so, and the entry has no CISA KEV data.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries