Description
OpenClaw before 2026.4.2 accepts non-loopback cleartext ws:// gateway endpoints and transmits stored gateway credentials over unencrypted connections. Attackers can forge discovery results or craft setup codes to redirect clients to malicious endpoints, disclosing plaintext gateway credentials.
Problem types
CWE-319: Cleartext Transmission of Sensitive Information
Product status
Any version before 2026.4.2
2026.4.2 (semver)
Credits
zsx (@zsxsoft)
KeenSecurityLab
References
github.com/...enclaw/security/advisories/GHSA-83f3-hh45-vfw9 (GitHub Security Advisory (GHSA-83f3-hh45-vfw9))
github.com/...ommit/a941a4fef9bc43b2973c92d0dcff5b8a426210c5 (Patch Commit)
www.vulncheck.com/...unencrypted-websocket-gateway-endpoints (VulnCheck Advisory: OpenClaw < 2026.4.2 - Cleartext Credential Transmission via Unencrypted WebSocket Gateway Endpoints)