3Corns

Security Researcher Breaks Down WhatsApp-to-Host Exploit Chain Built on Three OpenClaw Vulnerabilities

Security researchers have disclosed three vulnerabilities—now fixed—in OpenClaw, a personal AI assistant, that together could have allowed attackers to steal credentials, escalate their privileges, and run arbitrary code on affected machines. Technical write-ups on the flaws are available in the OpenClaw CVE repository.

All three issues were rated high severity. Here's a rundown:

  • GHSA-hjr6-g723-hmfm (CVSS 8.8) — This bug stemmed from gaps in how the host execution environment filtered inputs, leaving it open to OS command injection because the denylist of blocked inputs wasn't comprehensive. An attacker could exploit this to run commands or maintain access beyond what they were originally authorized to do.
  • GHSA-9969-8g9h-rxwm (CVSS 8.8) — A closely related flaw, also rooted in incomplete input filtering within the host execution environment. Like the first issue, it opened the door to command injection, letting an attacker execute or sustain actions that exceeded their intended permission level.
  • GHSA-575v-8hfq-m3mc (CVSS 8.4) — This one involved path traversal combined with insecure link-following behavior. It could let sandbox bind mounts slip past checks designed to block access to parent directories, effectively sidestepping authorization controls that should have restricted those actions.

  • Notably, exploiting these newly discovered flaws doesn't require an attacker to already have a foothold on the system. From that starting point alone, they could pull sensitive data, plant a backdoor that survives reboots, achieve full remote code execution, and break out of the sandbox to reach the underlying host. Explaining the root cause behind GHSA-575v-8hfq-m3mc, the researcher noted that the function responsible for validation only tests whether the source path falls within a blocked directory—it never checks the inverse case, where a blocked path could itself sit inside the source directory. That gap is what makes the parent-directory bypass possible

    In addition to applying the latest OpenClaw update, administrators should enforce sandbox isolation on all sessions outside the primary/main context, strip "exec" from the permitted tool set for any agent exposed to external channels, and implement detection logic for git clone invocations that reference the ext:: external-protocol helper—a vector that can be leveraged to execute arbitrary commands at the OS level.