Webhook transform modules were validated with lexical path checks only. A symlink under the allowed hooks transform tree could resolve outside the intended directory and be dynamically imported.
openclaw (npm)<= 2026.2.21-22026.2.22When an attacker can cause a transform module path to reference a symlinked entry that resolves outside the trusted transform directory, the gateway may import and execute unintended JavaScript with gateway-process privileges.
hooks.transformsDir symlink escape rejection,f4dd0577b055f77af783105bd65eae32f3d5e6a1OpenClaw thanks @aether-ai-agent for reporting.
| Base score | Version | Severity | Vector |
|---|---|---|---|
| 7.3 | 4.0 | — |
|
| Type | Value |
|---|---|
| GHSA | GHSA-659f-22xc-98f2 ↗ |
| CWE id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') |
Vulnerable version ranges and first patched releases as published by GitHub.
| Ecosystem | Package | Vulnerable range | First patched | Vulnerable functions |
|---|---|---|---|---|
| npm | openclaw | <= 2026.2.21-2 | 2026.2.22 | — |