OpenClaw Path Hijacking Vulnerability in SafeBins Allowlist Bypass

Vulnerability

A path hijacking vulnerability has been identified in OpenClaw versions 2026.1.21 prior to 2026.2.19. This vulnerability resides in the 'tools.exec.safeBins' feature, allowing attackers to manipulate the process PATH resolution and bypass allowlist checks. By influencing the gateway process PATH or launch environment, attackers can execute trojan binaries disguised as allowlisted names, such as 'jq', thereby circumventing executable validation controls.

Impact

Exploitation of this vulnerability allows for the execution of unauthorized binaries under the guise of allowlisted executables, bypassing established security validations.

Reproduction

To reproduce this vulnerability, first, set the process PATH or launch environment to include a directory containing a trojan binary named 'jq'. Then, start the OpenClaw gateway. The trojan binary will be executed, bypassing the allowlist validation.

Remediation

Users should update to OpenClaw version 2026.2.19 or later, where this vulnerability has been patched.

Added: Mar 19, 2026, 10:45 PM
Updated: Mar 19, 2026, 10:45 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
3.9
remediation
0.0
relevance
4.1
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.