CVE-2026-26327: OpenClaw allows unauthenticated discovery TXT records to steer routing and TLS pinning
OpenClaw clients trusted unauthenticated Bonjour/mDNS TXT records to decide where to connect and which TLS fingerprint to accept. On a shared LAN, an attacker could advertise a rogue `_openclaw-gw._tcp` service and capture Gateway credentials. Versions up to 2026.2.13 are affected. Upgrade to 2026.2.14.
Published Feb 18, 2026 · Updated Feb 20, 2026 · Analysis Oct 31, 2026
What an attacker can do
OpenClaw gateways announce themselves with DNS-SD beacons. The TXT records carry lanHost, tailnetDns, gatewayPort and gatewayTlsSha256. Anyone on the same network can publish such records, so they carry no proof of origin (CWE-345).
Before the fix, iOS and macOS clients built the connection URL from the TXT host hints and port. The iOS and Android clients let the TXT-provided fingerprint override a TLS pin that had been stored earlier. An attacker on the LAN could therefore publish a rogue service, steer the client to their own endpoint, and have their certificate accepted. During the connection the client sends the Gateway auth.token or auth.password, which the attacker then holds.
The attacker needs adjacent network access, such as a shared Wi-Fi or office LAN, and no user interaction. The CVSS 4.0 vector reflects this: adjacent, no privileges, high confidentiality impact. The advisory notes that the iOS and Android apps were alpha builds with no public store release. Exposure is mostly developers and testers, plus any other client that relies on discovery on an untrusted LAN.
Who is affected
The npm package openclaw at version 2026.2.13 or earlier. The weak behavior sits in the discovery code of the iOS, Android and macOS clients. You are most at risk if those clients discover gateways over Bonjour on a network you do not control. Check the installed version:
npm ls -g openclaw
openclaw --versionFor the mobile apps, check the build you installed against 2026.2.14.
openclaw
- Ecosystem
- npm
- Affected
- < 2026.2.14
- Fixed in
- 2026.2.14
- Check
npm ls openclaw
How to fix it
Upgrade to 2026.2.14, the patched version (fix commits d583782 and e013bbd):
npm install -g [email protected]The fix makes clients prefer the resolved SRV and A/AAAA endpoint over TXT hints. Discovery fingerprints no longer override a stored TLS pin. On iOS and Android, a first-time pin needs explicit user confirmation, discovery-based direct connects are TLS-only, and Android no longer disables hostname verification globally. The advisory lists no workaround. If a client may have connected on an untrusted LAN, rotate the Gateway token and password.
How to tell if you were hit
The advisory gives no detection guidance. Check Gateway logs for authentication from unfamiliar clients, and look at the network for more than one _openclaw-gw._tcp service announcing on the same LAN. On the clients, look for a gateway whose TLS fingerprint differs from the one you pinned, or a connection to an address you did not configure. If you suspect a rogue service, treat the Gateway auth.token and auth.password as exposed and rotate them.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Discovery beacons (Bonjour/mDNS and DNS-SD) include TXT records such as lanHost, tailnetDns, gatewayPort, and gatewayTlsSha256. TXT records are unauthenticated.
Prior to the fix, some clients treated TXT values as authoritative routing/pinning inputs:
- iOS and macOS: used TXT-provided host hints (
lanHost/tailnetDns) and ports (gatewayPort) to build the connection URL. - iOS and Android: allowed the discovery-provided TLS fingerprint (
gatewayTlsSha256) to override a previously stored TLS pin.
On a shared/untrusted LAN, an attacker could advertise a rogue _openclaw-gw._tcp service. This could cause a client to connect to an attacker-controlled endpoint and/or accept an attacker certificate, potentially exfiltrating Gateway credentials (auth.token / auth.password) during connection.
Distribution / Exposure
The iOS and Android apps are currently alpha/not broadly shipped (no public App Store / Play Store release). Practical impact is primarily limited to developers/testers running those builds, plus any other shipped clients relying on discovery on a shared/untrusted LAN.
CVSS can still be used for the technical (base) severity of the bug; limited distribution primarily affects environmental risk.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected:
<= 2026.2.13(latest published on npm as of 2026-02-14) - Patched: planned for
>= 2026.2.14(not yet published at time of writing)
Fix
- Clients now prefer the resolved service endpoint (SRV + A/AAAA) over TXT-provided routing hints.
- Discovery-provided fingerprints no longer override stored TLS pins.
- iOS/Android: first-time TLS pins require explicit user confirmation (fingerprint shown; no silent TOFU).
- iOS/Android: discovery-based direct connects are TLS-only.
- Android: hostname verification is no longer globally disabled (only bypassed when pinning).
Fix Commit(s)
- d583782ee322a6faa1fe87ae52455e0d349de586
Credits
Thanks @simecek for reporting.
Credited to simecek, stanislavfortaisle.
Questions
- Is CVE-2026-26327 remotely exploitable from the internet?
No. The attacker must be on the same local network, since the attack uses mDNS and DNS-SD advertisements. The CVSS vector marks the attack vector as adjacent.
- What does the attacker get?
Gateway credentials,
auth.tokenorauth.password, sent by the client while it connects to the rogue endpoint.- Are the OpenClaw mobile apps widely shipped?
The advisory says the iOS and Android apps were alpha builds with no public App Store or Play Store release. Impact is mainly on developers and testers.
- Which version fixes it?
2026.2.14. All versions up to and including 2026.2.13 are affected.
References
Read for this analysis:
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
