Agent hook events could enqueue trusted system events from unsanitized external input.
openclaw< 2026.4.10>= 2026.4.10Agent hook dispatch could turn externally supplied hook metadata into trusted system events, allowing untrusted input to enter the agent as higher-trust context.
The fix sanitizes hook names and marks agent hook system events as untrusted before enqueueing them.
The issue was fixed in #64372. The first stable tag containing the fix is v2026.4.10, and openclaw@2026.4.14 includes the fix.
e3a845bde5b54f4f1e742d0a51ba9860f9619b29Users should upgrade to openclaw 2026.4.10 or newer. The latest npm release, 2026.4.14, already includes the fix.
Thanks to @zsxsoft, with sponsorship from @KeenSecurityLab and @qclawer for reporting this issue.
{
"github_reviewed": true,
"github_reviewed_at": "2026-04-17T21:55:20Z",
"cwe_ids": [
"CWE-269",
"CWE-345"
],
"severity": "MODERATE",
"nvd_published_at": "2026-05-05T12:16:19Z"
}