An unauthenticated local client could use the Gateway WebSocket API to write config via config.apply and set unsafe cliPath values that were later used for command discovery, enabling command injection as the gateway user.
A local process on the same machine could execute arbitrary commands as the gateway process user.
config.apply accepted raw JSON and wrote it to disk after schema validation.cliPath values were not constrained to safe executable names/paths.Upgrade to a patched release. If projects cannot upgrade immediately, set gateway.auth and avoid custom cliPath values.
{
"cwe_ids": [
"CWE-20",
"CWE-306",
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2026-02-04T20:06:46Z",
"nvd_published_at": "2026-02-06T21:16:17Z",
"severity": "HIGH"
}