Description
OpenClaw before 2026.5.2 contains a path traversal vulnerability in maintenance task execution that allows workspace-derived service paths to influence trash command selection. Attackers can execute unintended local executables from operator-unintended paths during maintenance operations by manipulating workspace-derived environment paths.
Published: 2026-06-16
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OpenClaw versions prior to 2026.5.2 contain a path traversal flaw in the maintenance task execution flow. An attacker can craft a workspace that causes OpenClaw to select a trash command based on a manipulated environment path derived from that workspace. The flaw lets the operator run unintended local executables from paths that should not be executed during maintenance, giving the attacker the ability to launch arbitrary commands with the privileges of the OpenClaw process. The weakness is identified as CWE‑426 and results in full local code execution on the target system.

Affected Systems

All installations of OpenClaw built before version 2026.5.2 are vulnerable. No specific sub‑versions are listed; any system using a pre‑2026.5.2 release must review its current version.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity, while the EPSS score of less than 1% suggests the overall likelihood of exploitation is low at present. The vulnerability is not observed in the CISA KEV catalog, and the attack path is inferred to require local access to the maintenance environment or malicious workspace manipulation. Successful exploitation would grant the attacker full execution rights on the host, enabling data theft, service disruption, or pivoting to higher privileges. Administrators should treat this as a high‑risk issue that warrants prompt remediation.

Generated by OpenCVE AI on June 17, 2026 at 21:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenClaw to 2026.5.2 or later to remove the path traversal flaw.
  • If a patch cannot be applied immediately, disable the use of workspace‑derived paths in maintenance tasks or enforce strict path validation before command selection.
  • Limit the permissions of the maintenance process and ensure it runs under a least‑privilege account to reduce the impact of any potential exploitation.

Generated by OpenCVE AI on June 17, 2026 at 21:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-rx78-29qr-5hq8 OpenClaw: Workspace-derived service PATH could influence trash command selection
History

Tue, 16 Jun 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 16 Jun 2026 18:30:00 +0000

Type Values Removed Values Added
Description OpenClaw before 2026.5.2 contains a path traversal vulnerability in maintenance task execution that allows workspace-derived service paths to influence trash command selection. Attackers can execute unintended local executables from operator-unintended paths during maintenance operations by manipulating workspace-derived environment paths.
Title OpenClaw < 2026.5.2 - Arbitrary Command Execution via Workspace-Derived Service PATH
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-426
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Openclaw Openclaw
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-18T03:56:08.235Z

Reserved: 2026-06-10T21:22:34.481Z

Link: CVE-2026-53865

cve-icon Vulnrichment

Updated: 2026-06-16T18:38:27.371Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-06-16T19:17:04.890

Modified: 2026-06-16T20:42:46.200

Link: CVE-2026-53865

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-17T21:30:12Z

Weaknesses