CVE-2026-31997

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.

Score
CVSS 3.1 6.7 Medium
Status
Analyzed - disclosure@vulncheck.com
Published
2026-03-19
Last modified
2026-06-23
Weaknesses
CWE-367

Affected products

References