In openclaw allowlist mode, tools.exec.safeBins trusted PATH-derived directories for safe-bin resolution. A same-name binary placed in a trusted PATH directory could satisfy safe-bin checks and execute.
This is an allowlist bypass in exec policy that can lead to command execution in the OpenClaw runtime context when allowlist mode relies on safe bins and an attacker can influence trusted binary locations.
openclaw (npm)<= 2026.2.21-2>= 2026.2.22 (planned next release)2026.2.21-2tools.exec.safeBinTrustedDirs for opt-in extra trusted paths.64b273a71cf0b2f2419c974832cede1fc2158729patched_versions is pre-set to the planned next release (2026.2.22). After npm release, this advisory is ready for publish without additional field edits.
OpenClaw thanks @tdjackey for reporting.
{
"cwe_ids": [
"CWE-426"
],
"github_reviewed": true,
"github_reviewed_at": "2026-03-03T19:50:45Z",
"nvd_published_at": null,
"severity": "MODERATE"
}