{"id":"GHSA-j472-gf56-x589","title":"OpenClaw: PowerShell encoded-command aliases could miss exec allowlist checks","summary":"OpenClaw: PowerShell encoded-command aliases could miss exec allowlist checks","severity":"high","cwe":["CWE-184"],"vendor":"openclaw","product":"openclaw","ecosystem":"npm","affected":["openclaw <= 2026.5.7"],"patched":["openclaw 2026.5.12"],"published":"2026-07-02","updated":"2026-07-02","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-j472-gf56-x589","references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-j472-gf56-x589"},{"url":"https://github.com/advisories/GHSA-j472-gf56-x589"}],"tags":["ghsa","npm"],"ingestedAt":"2026-07-02T17:40:39.298Z","slug":"GHSA-j472-gf56-x589","body":"## Overview\n\n### Summary\n\nPowerShell encoded-command aliases could miss exec allowlist checks. In affected versions, a command request using abbreviated encoded-command flags could use an alias form not recognized by the allowlist parser.\n\nThis advisory is scoped to the named feature and configuration. It does not change OpenClaw's trusted-operator model: authenticated Gateway operators, installed plugins, and intentional local execution surfaces remain trusted unless a separate policy, approval, allowlist, sandbox, or auth boundary is crossed.\n\n### Impact\n\nWhen the affected feature is enabled and reachable, this could run encoded PowerShell content without the intended allowlist decision. Practical impact depends on the operator's configuration and whether lower-trust input can reach that path.\n\n### Patched Versions\n\nThe first stable patched version is `2026.5.12`.\n\n### Mitigations\n\nAvoid allowlisting PowerShell wrapper forms and require approval for encoded commands until patched. As general hardening, keep channel and tool allowlists narrow, avoid sharing one Gateway between mutually untrusted users, and disable the affected feature when it is not needed.\n\n## Affected packages\n\n- `openclaw <= 2026.5.7`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `openclaw 2026.5.12`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}