OpenClaw Gateway supports hook mappings with optional JavaScript/TypeScript transform modules. In affected versions, the gateway did not sufficiently constrain configured module paths before passing them to dynamic import(). Under some configurations, a user who can modify gateway configuration could cause the gateway process to load and execute an unintended local module.
Potential code execution in the OpenClaw gateway Node.js process.
This requires access that can modify gateway configuration (for example via the gateway config endpoints). Treat such access as high privilege.
openclaw>= 2026.1.5 and <= 2026.2.13>= 2026.2.14a0361b8ba959e8506dc79d638b6e6a00d12887e4 (restrict hook transform module loading)35c0e66ed057f1a9f7ad2515fdcef516bd6584ce (harden hooks module loading)2026.2.14 or newer.hooks.mappings[].transform.modulehooks.internal.handlers[].moduleThanks @222n5 for reporting.
{
"github_reviewed": true,
"github_reviewed_at": "2026-02-18T00:57:48Z",
"cwe_ids": [
"CWE-22",
"CWE-427"
],
"severity": "HIGH",
"nvd_published_at": "2026-03-05T22:16:18Z"
}