Command injection in OpenClaw - CVE-2026-25157
Published: May 4, 2026
OpenClaw
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code on the remote SSH host.
The vulnerability exists due to command injection in the sshNodeCommand function in CommandResolver.swift when constructing a shell script with a user-supplied project root path. A remote attacker can influence remote connection settings so that a crafted project path is interpolated into an echo statement to execute arbitrary code on the remote SSH host.
User interaction is required, and the issue affects the macOS menubar application in Remote/SSH mode only.