{"id":"CVE-2026-31993","aliases":["CVE-2026-31993","GHSA-5f9p-f3w2-fwch"],"related":[],"kind":"vulnerability","state":"published","title":"OpenClaw < 2026.2.22 - Allowlist Parsing Mismatch in system.run Shell Chains","summary":"OpenClaw versions prior to 2026.2.22 contain an allowlist parsing mismatch vulnerability in the macOS companion app that allows authenticated operators to bypass exec approval checks. Attackers with operator.write privileges and a paired macOS beta node can craft shell-chain payloads that pass incomplete allowlist validation and execute arbitrary commands on the paired host.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenClaw versions prior to 2026.2.22 contain an allowlist parsing mismatch vulnerability in the macOS companion app that allows authenticated operators to bypass exec approval checks. Attackers with operator.write privileges and a paired macOS beta node can craft shell-chain payloads that pass incomplete allowlist validation and execute arbitrary commands on the paired host.","source":"cvelist"},{"lang":"en","text":"### Summary\nIn the macOS companion app (**currently beta**), a parsing mismatch in exec approvals could let shell-chain payloads pass allowlist checks in `system.run` under specific settings.\n\n### Impact\nThis path requires all of the following:\n- authenticated caller with `operator.write`\n- paired macOS beta node host\n- exec approvals set to `security=allowlist` and `ask=on-miss`\n\nUnder those conditions, a shell-chain command could be approved from an incomplete command view and then executed on the paired macOS host.\n\n### Default Install Status\nDefault installs are not affected.\n\n### Affected Packages / Versions\n- Package: `openclaw` (npm)\n- Affected: `<= 2026.2.21-2`\n- Patched (planned next release): `>= 2026.2.22`\n\n### Technical Details\nThe fix hardens macOS allowlist resolution by evaluating shell chains per segment and failing closed on unsafe shell-substitution parsing in allowlist mode.\n\n### Product Status Note\nThe affected macOS companion app path is currently in beta.\n\n### Fix Commit(s)\n- `5da03e622119fa012285cdb590fcf4264c965cb5`\n- `e371da38aab99521c4e076cd3d95fd775e00b784`\n\n### Release Process Note\n`patched_versions` is pre-set to the planned next npm release (`2026.2.22`) so once that version is published, this advisory can be published without additional metadata edits.\n\nOpenClaw thanks @tdjackey for reporting.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Versiones de OpenClaw anteriores a 2026.2.22 contienen una vulnerabilidad de discrepancia en el análisis de la lista de permitidos en la aplicación complementaria de macOS que permite a los operadores autenticados eludir las comprobaciones de aprobación de ejecución. Atacantes con privilegios operator.write y un nodo beta de macOS emparejado pueden crear cargas útiles de cadena de shell que pasan una validación incompleta de la lista de permitidos y ejecutan comandos arbitrarios en el host emparejado.","source":"nvd"}],"published":"2026-03-02T22:17:01.000Z","modified":"2026-06-23T16:14:21.935Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","score":5.6,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","score":5.6,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:L","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-184","CWE-285"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2026.2.22","status":"affected"}],"vendor":"OpenClaw","product":"OpenClaw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.2.22"}],"ecosystem":"npm","package":"openclaw","purl":"pkg:npm/openclaw","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2026.2.22"}],"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-5f9p-f3w2-fwch","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/openclaw/openclaw/commit/5da03e622119fa012285cdb590fcf4264c965cb5","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/openclaw/openclaw/commit/e371da38aab99521c4e076cd3d95fd775e00b784","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/openclaw-allowlist-parsing-mismatch-in-system-run-shell-chains","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31993","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw","tags":["package"],"sources":["ghsa"]}],"credits":["tdjackey"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-23T16:44:47.346Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31993","url":"https://www.cve.org/CVERecord?id=CVE-2026-31993","licence":"CVE Terms of Use","modified":"2026-06-23T16:14:21.935Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5f9p-f3w2-fwch","url":"https://github.com/advisories/GHSA-5f9p-f3w2-fwch","licence":"CC-BY-4.0","modified":"2026-03-19T21:41:20.597Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31993","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31993","licence":"Public domain","modified":"2026-06-17T10:34:53.827Z"}],"updatedAt":"2026-11-25T22:59:16.159Z","epss":{"score":0.00347,"percentile":0.30323,"date":"2026-12-01T12:00:22.000Z"}}