Description
OpenClaw versions 2026.1.5 prior to 2026.2.14 contain a vulnerability in the Gateway in which it does not sufficiently constrain configured hook module paths before passing them to dynamic import(), allowing code execution. An attacker with gateway configuration modification access can load and execute unintended local modules in the Node.js process.
Problem types
Uncontrolled Search Path Element
Product status
2026.1.5 (custom) before 2026.2.14
Credits
222n5
References
github.com/...enclaw/security/advisories/GHSA-v6c6-vqqg-w888 (GitHub Security Advisory (GHSA-v6c6-vqqg-w888))
github.com/...ommit/a0361b8ba959e8506dc79d638b6e6a00d12887e4 (Patch Commit #1)
github.com/...ommit/35c0e66ed057f1a9f7ad2515fdcef516bd6584ce (Patch Commit #2)
www.vulncheck.com/...on-via-unsafe-hook-module-path-handling (VulnCheck Advisory: OpenClaw 2026.1.5 < 2026.2.14 - Arbitrary Code Execution via Unsafe Hook Module Path Handling)