Improper access control in OpenClaw - #VU125243
Published: April 8, 2026
OpenClaw
Detailed vulnerability description
The vulnerability allows a remote attacker to execute attacker-controlled hook code.
The vulnerability exists due to improper access control in the bundled hooks root configuration when loading workspace environment variables. A remote attacker can provide a specially crafted workspace .env file to execute attacker-controlled hook code.
The issue occurs because a workspace can override the trusted default bundled hooks location.