All reports
High

OpenClaw: CLI Remote Onboarding Persists Unauthenticated Discovery Endpoint and Exfiltrates Gateway Credentials

Affected versions

Affected versions
<= 2026.3.24
Fixed version
2026.3.28

Exploitation

CVE-2026-41342

Probability of exploitation in the next 30 days: 0.13%

FIRST EPSS · 2026-11-22

Description

Summary

Remote onboarding accepted discovered gateway endpoints without an explicit trust confirmation before persisting the remote URL and connection details.

Impact

A malicious or spoofed discovery endpoint could steer onboarding toward an attacker-controlled gateway and capture future gateway credentials or traffic.

Affected Component

src/commands/onboard-remote.ts

Fixed Versions

  • Affected: <= 2026.3.24

  • Patched: >= 2026.3.28

  • Latest stable 2026.3.28 contains the fix.

Fix

Fixed by commit d6affb17d8 (CLI: confirm discovered remote gateways before saving config).

Links

Credits

  • nexrin
  • KeenSecurityLab
  • qclawer