CVE-2026-31993: OpenClaw macOS companion app (beta) Allowlist Parsing Mismatch For System.run Vulnerability
LOWCVE-2026-31993 is a LOW allowlist parsing mismatch for system.run vulnerability (CWE-285: Improper Authorization) affecting OpenClaw macOS companion app (beta) libraries in the npm ecosystem. The issue involves allowlist parsing mismatch for system.run shell chains. Remediation is available by upgrading affected packages to version 2026.2.22.
CVE-2026-31993 at a Glance
How to Fix CVE-2026-31993
To remediate this vulnerability, upgrade all affected OpenClaw macOS companion app (beta) dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install openclaw@2026.2.22
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls openclaw
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-31993, inspect your project dependencies using npm:
npm ls openclaw
Analyze the terminal output to locate any version of OpenClaw macOS companion app (beta) in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2026.2.22), your application is affected.
Note: The npm ls openclaw command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In OpenClaw macOS companion app (beta), software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-31993 Affected OpenClaw macOS companion app (beta) Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
openclaw
|
npm |
< 2026.2.22
|
2026.2.22
|
References
Frequently Asked Questions
What is CVE-2026-31993?
Which OpenClaw macOS companion app (beta) versions are affected?
What version fixes CVE-2026-31993?
Is openclaw affected?
What CWE is associated with CVE-2026-31993?
How can I check npm dependencies for CVE-2026-31993?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5f9p-f3w2-fwch",
"modified" : "2026-03-19T21:22:24Z",
"published" : "2026-03-02T22:17:01Z",
"aliases" : [ "CVE-2026-31993" ],
"summary" : "OpenClaw macOS companion app (beta): allowlist parsing mismatch for system.run shell chains",
"details" : "### 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "openclaw"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2026.2.22"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/openclaw/openclaw/security/advisories/GHSA-5f9p-f3w2-fwch"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-31993"
}, {
"type" : "WEB",
"url" : "https://github.com/openclaw/openclaw/commit/5da03e622119fa012285cdb590fcf4264c965cb5"
}, {
"type" : "WEB",
"url" : "https://github.com/openclaw/openclaw/commit/e371da38aab99521c4e076cd3d95fd775e00b784"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openclaw/openclaw"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/openclaw-allowlist-parsing-mismatch-in-system-run-shell-chains"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-184", "CWE-285" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-02T22:17:01Z",
"nvd_published_at" : null
}
}