What’s Vulnerable › Vulnerabilities

CVE-2026-31997: OpenClaw < 2026.3.1 - Executable Rebind via Unbound PATH-token in system.run Approvals

Description

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.

Affected products

How to fix

Upgrade to a fixed version: OpenClaw 2026.3.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-31997 or the next vulnerability affects your stack