Описание
OpenClaw: system.run approvals did not bind PATH-token executable identity, enabling post-approval executable rebind
Summary
For host=node runs, approvals validated command context but did not pin executable identity for non-path-like argv[0] tokens (for example tr). If PATH resolution changed after approval, execution could run a different binary.
Impact
A previously approved action could execute a different executable than the operator approved.
Fix
Node system.run approvals now require immutable systemRunPlan data, and path-token commands are pinned to canonical executable identity (realpath) across approval and execution.
Affected and Patched Versions
- Affected:
<= 2026.2.26 - Patched:
2026.3.1
Пакеты
openclaw
< 2026.3.1
2026.3.1
Связанные уязвимости
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.
Уязвимость ИИ-агента OpenClaw (ранее - ClawdBot или MoltBot), связанная с ошибками синхронизации при использовании общего ресурса, позволяющая нарушителю выполнить произвольные команды