CVE-2026-53859: OpenClaw: Hostname checks could treat trailing-dot hosts inconsistently
OpenClaw 2026.5.22 and earlier treat a hostname with a trailing dot differently from the same name without one. A request path that accepts model- or workspace-derived URLs can use `host.example.` to slip past a blocklist comparison. This is an SSRF-style bypass. Fixed in 2026.5.26.
Published Jun 18, 2026 · Analysis Oct 26, 2026
What an attacker can do
A fully qualified domain name can end in a dot, and host.example. and host.example resolve to the same place. OpenClaw's hostname checks compared the string as written, so a blocklisted name written with a trailing dot did not match its blocklist entry (CWE-20 and CWE-918).
The attacker must be able to influence a URL that OpenClaw fetches: either through the model (for example, via prompt text that makes the agent request a URL) or through a workspace file. They add the trailing dot to a blocked name. The CVSS vectors give a network vector and low privileges, with high confidentiality impact and no integrity or availability impact. The goal is to reach a destination the operator expected the hostname policy to block, such as an internal service or a cloud metadata endpoint, and read the response.
The advisory does not say which request paths are affected. Exposure depends on the feature being enabled and on whether lower-trust input can reach it. It keeps OpenClaw's trusted-operator model.
Who is affected
The npm package openclaw at 2026.5.22 and earlier, where the Gateway can fetch URLs derived from model output or workspace content. Check the installed version:
npm ls openclawopenclaw
- Ecosystem
- npm
- Affected
- <= 2026.5.22
- Fixed in
- 2026.5.26
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.5.26, the first stable patched version:
npm install [email protected]Until then, keep private-network and metadata destinations blocked at the proxy or network layer, not only by hostname in OpenClaw. Keep channel and tool allowlists narrow, do not share one Gateway between mutually untrusted users, and disable the feature if you do not need it.
How to tell if you were hit
Search proxy, DNS and egress logs for requests from the Gateway host to names ending in a dot, and for connections to private ranges or the cloud metadata address that you expect to be blocked. The advisory names no OpenClaw log line. Beam records agent shell commands and tool calls, which can show a URL an agent was prompted to fetch.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Hostname checks could treat trailing-dot hosts inconsistently. In affected versions, a request path that accepts model- or workspace-derived URLs could present the same hostname with a trailing dot and avoid a blocklist comparison.
This advisory is scoped to the named feature and configuration. It does not change OpenClaw's trusted-operator model: authenticated Gateway operators, installed plugins, and intentional local execution surfaces remain trusted unless a separate policy, approval, allowlist, sandbox, or auth boundary is crossed.
Impact
When the affected feature is enabled and reachable, this could reach a destination that the operator expected the hostname policy to block. Practical impact depends on the operator's configuration and whether lower-trust input can reach that path.
Patched Versions
The first stable patched version is 2026.5.26.
Mitigations
keep private-network and metadata destinations blocked at the proxy or network layer until patched. As general hardening, keep channel and tool allowlists narrow, avoid sharing one Gateway between mutually untrusted users, and disable the affected feature when it is not needed.
Credited to nayakchinmohan.
Questions
- What is the trailing-dot trick?
A hostname written as
host.example.points to the same host ashost.example, but a string comparison against a blocklist sees two different names. The bypass relies on that gap.- Which version fixes CVE-2026-53859?
openclaw 2026.5.26. Versions up to 2026.5.22 are affected.
- Does a network-layer block help?
Yes. The advisory says to keep private-network and metadata destinations blocked at the proxy or network layer until you patch.
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
