In openclaw<=2026.2.23, safe-bin trust in allowlist mode relied on static default trusted directories that included package-manager paths (notably /opt/homebrew/bin and /usr/local/bin).
When a same-name binary (for example jq) is placed in one of those trusted default directories, safe-bin evaluation can be satisfied and execute the attacker-controlled binary.
This is an exec allowlist safeBins policy bypass that can lead to command execution in the OpenClaw runtime context.
Severity is set to Medium given the required ability to write into trusted host binary directories.
openclaw (npm)<= 2026.2.23>= 2026.2.24 (planned next npm release)2026.2.23/bin, /usr/bin.tools.exec.safeBinTrustedDirs.b67e600bff696ff2ed9b470826590c0ce6b3bb0apatched_versions is pre-set to the planned next release (2026.2.24).
Once npm release 2026.2.24 is published, this advisory should be ready for publish without additional version edits.
OpenClaw thanks @tdjackey for reporting.
openclaw@2026.2.24 is published on npm and contains the fix commit(s) listed above. This advisory now marks >= 2026.2.24 as patched.
{
"github_reviewed": true,
"github_reviewed_at": "2026-03-03T21:34:45Z",
"severity": "HIGH",
"nvd_published_at": "2026-03-19T22:16:33Z",
"cwe_ids": [
"CWE-426",
"CWE-428",
"CWE-829"
]
}