OpenClaw versions prior to 2026.3.1 fail to pin executable identity for non-path-like argv[0] tokens in system.run approvals, allowing post-approval executable rebind attacks.
Date: 2026-03
Affected: openclaw/openclaw
Attack vector: rce
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2026-31997
CWE: CWE-367
CVSS: 6 (CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N)

OpenClaw versions prior to 2026.3.1 fail to pin executable identity for non-path-like argv[0] tokens in system.run approvals, allowing post-approval executable rebind attacks. Attackers can modify PATH resolution after approval to execute a different binary than the operator approved, enabling arbitrary command execution.


Mitigations:

Architectural layers (MAESTRO):