{"id":"GHSA-mhq8-78pj-5j79","revision":"83a7735cbc8545df833c81d7abe4605f","records":[{"revision":"83a7735cbc8545df833c81d7abe4605f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-mhq8-78pj-5j79","aliases":["CVE-2026-53831"],"title":"OpenClaw's POSIX node system.run safe-bin allowlist could be widened by shell expansion","description":"### Summary\n\nOn POSIX nodes, OpenClaw's `system.run` safe-bin checks could approve a command before shell expansion changed how the command was interpreted. A value that appeared to be a safe-bin argument could expand into additional shell words and become a file operand.\n\nThis issue is limited to paired POSIX node execution through `system.run` with safe-bin or allowlist-style auto-approval. It is not an unauthenticated node takeover.\n\n### Affected configurations\n\nThis affects deployments where:\n\n- a POSIX node is paired to the gateway\n- `system.run` is reachable by an authenticated operator or agent flow\n- exec policy uses safe-bin or allowlist-based auto-approval\n- the approved command contains shell-expanded values that can change argv shape\n\n### Impact\n\nA lower-privilege operator flow could cause an approved safe-bin command to read a node-local file that was not intended by the policy. Depending on the local files available to the node process, this could expose OpenClaw configuration data or other node-local information.\n\nThe issue is a policy-enforcement gap in argv validation, not a general statement that every safe-bin command is unsafe.\n\n### Patched Versions\n\nThe first stable patched version is `2026.5.18`.\n\n### Mitigations\n\nUpgrade to `openclaw@2026.5.18` or later. Before upgrading, avoid broad safe-bin auto-approval for commands that can read arbitrary paths, and prefer explicit approval for node commands that touch local files.","state":0,"publishedAt":"2026-07-02T16:05:38+00:00","modifiedAt":"2026-08-26T01:18:22.1473566+00:00","affected":[{"ecosystem":"npm","name":"openclaw","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2026.5.18"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/openclaw/openclaw/security/advisories/GHSA-mhq8-78pj-5j79","https://nvd.nist.gov/vuln/detail/CVE-2026-53831","https://github.com/openclaw/openclaw","https://www.vulncheck.com/advisories/openclaw-arbitrary-file-read-via-shell-expansion-in-system-run-safe-bin-allowlist"],"sourceUrl":"https://github.com/advisories/GHSA-mhq8-78pj-5j79","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-mhq8-78pj-5j79","identifiers":["GHSA-mhq8-78pj-5j79","CVE-2026-53831"]},"retained":false,"historicalAffected":[]}],"coverage":[]}