OpenClaw before 2026.4.2 accepts non-loopback cleartext ws:// gateway endpoints and transmits stored gateway credentials over unencrypted connections.
Date: 2026-04
Affected: openclaw/openclaw
Attack vector: other
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2026-40045
CWE: CWE-319
CVSS: 5.7 (CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):