GitHub Advisoryadvisory · npm

GHSA-3x3x-h76w-hp98 OpenClaw exec allowlist safeBins short-option bypass could permit arbitrary file write

MEDIUM Published 2026-03-03 Modified 2026-03-30 Official page ↗
Aliases
CVE-2026-32017
Ecosystem
npm
Packages
openclaw
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Weaknesses
CWE-184
Reviewed
2026-03-03

Affected packages

• npm openclaw: < 2026.2.19 → fixed in 2026.2.19

Description

Summary OpenClaw `exec` allowlist/safeBins policy could be bypassed with attached short-option payloads (for example `sort -o/tmp/poc`), enabling file-write operations while still satisfying safeBins checks. Affected Packages / Versions • Package: `openclaw` (npm) • Affected versions: `<= 2026.2.17` • Latest published vulnerable version: `2026.2.17` • Patched in: `2026.2.19` Impact When `tools.exec.security=allowlist` and `tools.exec.safeBins` included affected binaries, attached short-option payloads could bypass safeBins argument validation and permit file-write behavior that should have been denied. Fix Commit(s) • cfe8457a0f4aae5324daec261d3b0aad1461a4bc • bafdbb6f112409a65decd3d4e7350fbd637c7754 • fec48a5006eab37c6a5821726ccaeec886486b13 OpenClaw thanks @FailButWin and @Redgrave961 for reporting.

Related

Alias · CVE (1)

  • CVE-2026-32017 OpenClaw versions prior to 2026.2.19 contain an allowlist bypass vulnerability in the exec safeBins policy that allows attackers to write… vulnerability

Weakness · CWE (1)

  • CWE-184 Incomplete List of Disallowed Inputs weakness

References