Untrusted Search Path Affecting openclaw package, versions <2026.5.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-OPENCLAW-17394028
  • published22 Jun 2026
  • disclosed18 Jun 2026
  • creditUnknown

Introduced: 18 Jun 2026

NewCVE-2026-53865  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade openclaw to version 2026.5.2 or higher.

Overview

openclaw is a 🦞 OpenClaw — Personal AI Assistant

Affected versions of this package are vulnerable to Untrusted Search Path via the PATH environment variable influencing the selection of the trash executable during maintenance tasks. An attacker can execute unintended local executables by manipulating the workspace-derived service path. This is only exploitable if the affected feature is enabled and reachable, and the operator's configuration allows lower-trust input to influence the service path.

Workaround

This vulnerability can be mitigated by keeping maintenance flows on trusted workspaces and fixed service paths, narrowing channel and tool allowlists, avoiding sharing one Gateway between mutually untrusted users, and disabling the affected feature when not needed.

CVSS Base Scores

version 4.0
version 3.1