{"id":"GHSA-g55j-c2v4-pjcg","summary":"OpenClaw vulnerable to Unauthenticated Local RCE via WebSocket config.apply","details":"### Summary\n\nAn 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.\n\n### Impact\n\nA local process on the same machine could execute arbitrary commands as the gateway process user.\n\n### Details\n\n- `config.apply` accepted raw JSON and wrote it to disk after schema validation.\n- `cliPath` values were not constrained to safe executable names/paths.\n- Command discovery used a shell invocation when resolving executables.\n\n### Mitigation\n\nUpgrade to a patched release. If projects cannot upgrade immediately, set `gateway.auth` and avoid custom `cliPath` values.","aliases":["CVE-2026-25593"],"modified":"2026-02-06T22:21:37.548843Z","published":"2026-02-04T20:06:46Z","database_specific":{"cwe_ids":["CWE-20","CWE-306","CWE-78"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-02-04T20:06:46Z","nvd_published_at":"2026-02-06T21:16:17Z"},"references":[{"type":"WEB","url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-g55j-c2v4-pjcg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25593"},{"type":"PACKAGE","url":"https://github.com/openclaw/openclaw"}],"affected":[{"package":{"name":"openclaw","ecosystem":"npm","purl":"pkg:npm/openclaw"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2026.1.20"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-g55j-c2v4-pjcg/GHSA-g55j-c2v4-pjcg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}