CVE-2026-26324: OpenClaw has a SSRF guard bypass via full-form IPv4-mapped IPv6 (loopback / metadata reachable)
OpenClaw's SSRF guard in `src/infra/net/ssrf.ts` missed full-form IPv4-mapped IPv6 addresses such as `0:0:0:0:0:ffff:7f00:1`, which is 127.0.0.1. Requests to loopback, private networks and link-local metadata addresses could pass a check meant to block them. The `openclaw` npm package below 2026.2.14 is affected. Upgrade to 2026.2.14.
Published Feb 17, 2026 · Updated Feb 20, 2026 · Analysis Nov 1, 2026
What an attacker can do
OpenClaw runs an SSRF guard before it fetches URLs on behalf of the agent. Its classifier recognised IPv4 addresses hidden in IPv6 only in the short ::ffff: form, through parseIpv4FromMappedIpv6. The long form 0:0:0:0:0:ffff:7f00:1 was not classified as private, so the guard let it through.
An attacker who can make OpenClaw fetch a URL they choose can use such a literal to reach services that should stay internal: loopback admin ports, private network hosts and the link-local cloud metadata address. The CVSS 3.1 vector (AV:N, PR:N, UI:N, C:H) rates it as network-reachable with high confidentiality impact and no integrity or availability impact.
In practice the URL often comes from the model, so a web page or message that steers the agent's fetch can supply it. What the attacker gets depends on what is reachable from the OpenClaw host: internal API responses, or on a cloud instance, metadata values such as role credentials. The advisory is brief and does not describe a specific tool path, so check where your deployment lets users or content choose a fetch target.
Who is affected
The npm package openclaw at 2026.2.13 and earlier (advisory text: <= 2026.2.13). The patched release is 2026.2.14. Any deployment where OpenClaw fetches attacker-influenced URLs is exposed, and those on cloud hosts with a reachable metadata service most of all.
npm ls -g openclaw
openclaw --versionopenclaw
- Ecosystem
- npm
- Affected
- < 2026.2.14
- Fixed in
- 2026.2.14
- Check
npm ls openclaw
How to fix it
Upgrade to 2026.2.14.
npm install -g [email protected]The fix (commit c0c0e0f9) replaces the old mapped-address handling with a full IPv6 parser. parseIpv6Hextets reads all eight 16-bit groups, including :: compression and zone IDs. extractIpv4FromEmbeddedIpv6 pulls the IPv4 address out of mapped and compatible forms, and isPrivateIpAddress applies the private IPv4 rules to it. It also classifies unspecified, loopback, link-local, site-local and unique-local ranges. New tests in src/infra/net/ssrf.test.ts cover these forms. The advisory names no workaround.
How to tell if you were hit
Look in logs and proxy records for outbound requests from the OpenClaw host to URLs with IPv6 literals such as [0:0:0:0:0:ffff:7f00:1], [::ffff:a9fe:a9fe] or other ffff: forms, which are encodings of 127.0.0.1 and 169.254.169.254. Check internal service and metadata access logs for requests coming from that host. Review agent transcripts for fetch targets that came from untrusted pages or messages.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
OpenClaw's SSRF protection could be bypassed using full-form IPv4-mapped IPv6 literals such as 0:0:0:0:0:ffff:7f00:1 (which is 127.0.0.1). This could allow requests that should be blocked (loopback / private network / link-local metadata) to pass the SSRF guard.
- Vulnerable component: SSRF guard (
src/infra/net/ssrf.ts) - Issue type: SSRF protection bypass
Affected Packages / Versions
- Package:
openclaw(npm) - Vulnerable:
<= 2026.2.13 - Patched:
>= 2026.2.14(planned next release)
Details
The SSRF guard's IP classification did not consistently detect private IPv4 addresses when they were embedded in IPv6 using full-form IPv4-mapped IPv6 notation. As a result, inputs like 0:0:0:0:0:ffff:7f00:1 could bypass loopback/private network blocking.
Fix Commit(s)
c0c0e0f9aecb913e738742f73e091f2f72d39a19
Release Process Note
This advisory is kept in draft state with the patched version set to the planned next release. Once [email protected] is published to npm, the only remaining step should be to publish this advisory.
Thanks @yueyueL for reporting.
Credited to yueyueL.
Questions
- What kind of address bypassed the guard?
Full-form IPv4-mapped IPv6 literals, for example
0:0:0:0:0:ffff:7f00:1, which stands for 127.0.0.1. The old code only parsed the short::ffff:form.- Which OpenClaw version fixes CVE-2026-26324?
2026.2.14. Versions up to 2026.2.13 are affected. The fix commit is c0c0e0f9aecb913e738742f73e091f2f72d39a19.
- Does this need authentication or user interaction?
The CVSS vector says no privileges and no interaction. In practice the attacker still needs a way to make OpenClaw request a URL of their choosing.
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 entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
