OpenClaw before 2026.5.18? Audit shell-wrapper approvals.
CVE-2026-53822 is a sharp reminder that command approval is only useful when the command shape checked is the command shape that runs. GitHub's advisory says affected OpenClaw versions could approve one shell-wrapper argv shape and rebuild another for execution, bypassing the allowlist in configurations where that path was enabled and reachable. Treat this as a narrow but high-leverage upgrade/audit: patch to 2026.5.18+, require explicit approval for wrapper-heavy commands until patched, and prove your exec policy with a small negative test before unattended agents resume host execution.
In simple words: Make a safe copy if the step could change your setup, try the smallest check, then confirm OpenClaw is back to normal before doing more. The source link and commands stay below for people who want the technical detail.
openclaw --version
openclaw approvals get || true
openclaw exec-policy show || true
# If version is before 2026.5.18, patch before trusting shell-wrapper allowlists.
- Host / workspace audited:
- OpenClaw version before audit:
- Patched to 2026.5.18+?
- Channels/plugins/agents that can reach host exec:
- Wrapper-heavy allowlist entries reviewed:
- Negative test command shape:
- Result: prompted / denied / unexpectedly allowed:
- Rollback or pause decision:
Source: GitHub advisory GHSA-2j8v-hwgc-x698 + OpenClaw exec approvals docs · link