{"id":"CVE-2026-53822","aliases":["CVE-2026-53822","GHSA-2j8v-hwgc-x698"],"related":[],"kind":"vulnerability","state":"published","title":"OpenClaw < 2026.5.18 - Command Argument Modification via Shell Wrapper Between Approval and Execution","summary":"OpenClaw before 2026.5.18 contains a command injection vulnerability where shell wrapper argv could change between approval and execution. Attackers can rebuild command arguments after allowlist approval to execute unapproved command shapes, potentially bypassing security controls.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenClaw before 2026.5.18 contains a command injection vulnerability where shell wrapper argv could change between approval and execution. Attackers can rebuild command arguments after allowlist approval to execute unapproved command shapes, potentially bypassing security controls.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nShell wrapper argv could change between approval and execution. In affected versions, a command request using a shell wrapper form could approve one resolved argv shape and rebuild another for execution.\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 a command shape that was not checked against the allowlist. 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.18`.\n\n### Mitigations\n\nrequire explicit approval for shell wrappers and avoid durable allowlists for wrapper-heavy 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenClaw anterior a 2026.5.18 contiene una vulnerabilidad de inyección de comandos donde el argv del wrapper de shell podría cambiar entre la aprobación y la ejecución. Los atacantes pueden reconstruir los argumentos de comandos después de la aprobación de la lista de permitidos para ejecutar estructuras de comandos no aprobadas, eludiendo potencialmente los controles de seguridad.","source":"nvd"}],"published":"2026-06-12T21:56:50.258Z","modified":"2026-09-17T17:54:17.424Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-77","CWE-284","CWE-367"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2026.5.18","status":"affected"},{"type":"semver","version":"2026.5.18","status":"unaffected"}],"vendor":"OpenClaw","product":"OpenClaw","repo":"https://github.com/openclaw/openclaw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.5.18"}],"ecosystem":"npm","package":"Openclaw","purl":"pkg:npm/Openclaw","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2026.5.18"}],"vendor":"openclaw","product":"openclaw","cpe":"cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-2j8v-hwgc-x698","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/openclaw-command-argument-modification-via-shell-wrapper-between-approval-and-execution","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openclaw/openclaw","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-15T18:25:53.730Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53822","url":"https://www.cve.org/CVERecord?id=CVE-2026-53822","licence":"CVE Terms of Use","modified":"2026-09-17T17:54:17.424Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2j8v-hwgc-x698","url":"https://github.com/advisories/GHSA-2j8v-hwgc-x698","licence":"CC-BY-4.0","modified":"2026-07-08T08:12:35.012Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53822","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53822","licence":"Public domain","modified":"2026-07-23T09:10:00.113Z"}],"updatedAt":"2026-11-25T22:59:24.596Z","epss":{"score":0.01076,"percentile":0.65927,"date":"2026-12-01T12:00:22.000Z"}}