Description
OpenClaw versions prior to 2026.3.1 fail to pin executable identity for non-path-like argv[0] tokens in system.run approvals, allowing post-approval executable rebind attacks. Attackers can modify PATH resolution after approval to execute a different binary than the operator approved, enabling arbitrary command execution.
Published: 2026-03-19
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Apply Patch
AI Analysis

Impact

OpenClaw versions before 2026.3.1 allow an attacker who can influence PATH resolution after an operation has been approved via system.run to execute an unintended binary. The software fails to pin the executable identity when the argv[0] token does not look like a file path, so a post‑approval rebind can subvert the operator’s approval. This flaw enables an attacker to run arbitrary commands with the privileges of the operator, resulting in Remote Code Execution. The weakness is identified as CWE‑367, indicating improper verification of executable identity.

Affected Systems

The vulnerability affects all installations of OpenClaw with versions earlier than 2026.3.1. No specific sub‑releases are listed in the advisory. The issue is tied to the OpenClaw server component running under Node.js, as shown by the CPE string. Administrators should verify the OpenClaw version deployed in their environment and ensure it is not older than 2026.3.0.

Risk and Exploitability

The CVSS base score is 4.4, indicating a moderate severity risk. EPSS data is not provided and the issue is not in the CISA KEV catalog, suggesting no known active exploitation in the wild. However, the attack requires that the attacker be able to modify the PATH after an approval has been granted, typically implying local or privileged conditions. If successful, the attacker gains full control over the system and can compromise confidentiality, integrity, and availability. No public exploits are reported, but the potential for future exploitation warrants prompt action.

Generated by OpenCVE AI on March 19, 2026 at 02:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenClaw to version 2026.3.1 or later.
  • If an upgrade is not immediately possible, restrict any ability to change the PATH environment when system.run approvals are processed.
  • Follow the vendor’s security advisory for any additional mitigations or interim patches.
  • Continuously monitor vendor updates and security advisories related to this CVE.

Generated by OpenCVE AI on March 19, 2026 at 02:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-q399-23r3-hfx4 OpenClaw: system.run approvals did not bind PATH-token executable identity, enabling post-approval executable rebind
History

Thu, 19 Mar 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 19 Mar 2026 01:30:00 +0000

Type Values Removed Values Added
Description OpenClaw versions prior to 2026.3.1 fail to pin executable identity for non-path-like argv[0] tokens in system.run approvals, allowing post-approval executable rebind attacks. Attackers can modify PATH resolution after approval to execute a different binary than the operator approved, enabling arbitrary command execution.
Title OpenClaw < 2026.3.1 - Executable Rebind via Unbound PATH-token in system.run Approvals
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-367
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

{'score': 6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 4.4, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Openclaw Openclaw
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-03-19T14:06:06.088Z

Reserved: 2026-03-10T19:48:11.111Z

Link: CVE-2026-31997

cve-icon Vulnrichment

Updated: 2026-03-19T14:05:54.722Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-19T02:16:05.130

Modified: 2026-03-19T18:49:06.227

Link: CVE-2026-31997

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-25T11:55:34Z

Weaknesses