CVE-2026-32017: OpenClaw: allowlist bypass enables arbitrary file write
HIGHOpenClaw's safeBins exec policy can be bypassed by any low-privileged, network-reachable attacker who appends short options (e.g., -o) to whitelisted binaries, achieving arbitrary file writes on the host without user interaction. Although not in CISA KEV and no public exploit exists today, the vulnerability sits in the top 83rd EPSS percentile, and the same package carries 396 tracked CVEs—a pattern of structural security debt that warrants heightened concern. In AI agent deployments where OpenClaw processes run with filesystem access and often elevated permissions, an arbitrary file write translates directly to agent configuration tampering, tool definition poisoning, or backdoor planting in execution paths. Upgrade to OpenClaw 2026.2.19 immediately and audit safeBins allowlists for binaries that accept output-redirection short options.
What is the risk?
High risk for organizations running AI agent workloads with OpenClaw. The attack requires only low privileges over the network with no user interaction and low complexity, making it accessible to a broad range of threat actors. While no active exploitation evidence exists, the 83rd EPSS percentile signals above-average near-term exploitation likelihood for a vulnerability published just months ago. The integrity-only CVSS impact is partially offset by the severe downstream consequences of file-write primitives in agentic environments, where agent configs, tool definitions, and execution scripts are high-value persistence targets. Four downstream dependents extend exposure beyond direct OpenClaw consumers.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| OpenClaw | pip | — | No patch |
Do you use OpenClaw? You're affected.
How severe is it?
What is the attack surface?
What should I do?
5 steps-
Upgrade OpenClaw to version 2026.2.19 or later per the vendor advisory (commits cfe8457, bafdbb6, fec48a5 apply the fix).
-
Audit all safeBins allowlist entries for binaries that accept output-redirection or file-write short options (e.g., -o, -f, -w, --output); remove or restrict these entries pending patch deployment.
-
Apply least-privilege filesystem permissions to OpenClaw agent processes—restrict write access to only directories explicitly required for agent operation.
-
Deploy file-integrity monitoring (e.g., auditd, Falco) on directories accessible by OpenClaw processes to detect unexpected file creation events.
-
Review agent execution logs for invocations of whitelisted binaries with appended short options as an indicator of exploit attempts or ongoing abuse.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-32017?
OpenClaw's safeBins exec policy can be bypassed by any low-privileged, network-reachable attacker who appends short options (e.g., -o) to whitelisted binaries, achieving arbitrary file writes on the host without user interaction. Although not in CISA KEV and no public exploit exists today, the vulnerability sits in the top 83rd EPSS percentile, and the same package carries 396 tracked CVEs—a pattern of structural security debt that warrants heightened concern. In AI agent deployments where OpenClaw processes run with filesystem access and often elevated permissions, an arbitrary file write translates directly to agent configuration tampering, tool definition poisoning, or backdoor planting in execution paths. Upgrade to OpenClaw 2026.2.19 immediately and audit safeBins allowlists for binaries that accept output-redirection short options.
Is CVE-2026-32017 actively exploited?
No confirmed active exploitation of CVE-2026-32017 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-32017?
1. Upgrade OpenClaw to version 2026.2.19 or later per the vendor advisory (commits cfe8457, bafdbb6, fec48a5 apply the fix). 2. Audit all safeBins allowlist entries for binaries that accept output-redirection or file-write short options (e.g., -o, -f, -w, --output); remove or restrict these entries pending patch deployment. 3. Apply least-privilege filesystem permissions to OpenClaw agent processes—restrict write access to only directories explicitly required for agent operation. 4. Deploy file-integrity monitoring (e.g., auditd, Falco) on directories accessible by OpenClaw processes to detect unexpected file creation events. 5. Review agent execution logs for invocations of whitelisted binaries with appended short options as an indicator of exploit attempts or ongoing abuse.
What systems are affected by CVE-2026-32017?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, tool execution environments, AI agent pipelines, model serving with agent sidecars.
What is the CVSS score for CVE-2026-32017?
CVE-2026-32017 has a CVSS v3.1 base score of 7.1 (HIGH). The EPSS exploitation probability is 0.26%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0010.005 AI Agent Tool AML.T0053 AI Agent Tool Invocation AML.T0081 Modify AI Agent Configuration AML.T0107 Exploitation for Defense Evasion Compliance Controls Affected
What are the technical details?
Original Advisory
OpenClaw versions prior to 2026.2.19 contain an allowlist bypass vulnerability in the exec safeBins policy that allows attackers to write arbitrary files using short-option payloads. Attackers can bypass argument validation by attaching short options like -o to whitelisted binaries, enabling unauthorized file-write operations that should be denied by safeBins checks.
Exploitation Scenario
An adversary with a low-privileged account—or co-opting an agent session via prompt injection—identifies that a binary such as curl or wget appears in OpenClaw's safeBins allowlist. They invoke the binary through OpenClaw's exec interface, appending a short option like -o /opt/openclaw/tools/malicious_tool.py pointed at an attacker-controlled output URL. Because argument validation checks only the binary name against the allowlist and fails to inspect short-option payloads (CWE-184), the file write succeeds. The attacker plants a malicious tool definition that executes on the next agent invocation, achieving persistent code execution under the agent's identity. From this foothold, credentials in agent configuration files can be harvested, the agent's RAG index poisoned, or connected services compromised—mirroring the AMOS Stealer delivery path documented in AIID #1368.
Weaknesses (CWE)
CWE-184 — Incomplete List of Disallowed Inputs: The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.
- [Implementation] Do not rely exclusively on detecting disallowed inputs. There are too many variants to encode a character, especially when different environments are used, so there is a high likelihood of missing some variants. Only use detection of disallowed inputs as a mechanism for detecting suspicious activity. Ensure that you are using other protection mechanisms that only identify "good" input - such as lists of allowed inputs - and ensure that you are properly encoding your outputs.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L References
- github.com/openclaw/openclaw/commit/bafdbb6f112409a65decd3d4e7350fbd637c7754 patch
- github.com/openclaw/openclaw/commit/cfe8457a0f4aae5324daec261d3b0aad1461a4bc patch
- github.com/openclaw/openclaw/commit/fec48a5006eab37c6a5821726ccaeec886486b13 patch
- github.com/openclaw/openclaw/security/advisories/GHSA-3x3x-h76w-hp98 vendor-advisory
- vulncheck.com/advisories/openclaw-arbitrary-file-write-via-short-option-bypass-in-exec-allowlist third-party-advisory
Timeline
Related Vulnerabilities
CVE-2026-33579 9.9 OpenClaw: scope bypass escalates low-priv to admin
Same package: openclaw CVE-2026-32922 9.9 OpenClaw: privilege escalation to RCE via token scope bypass
Same package: openclaw CVE-2026-30741 9.8 OpenClaw: RCE via request-side prompt injection
Same package: openclaw CVE-2026-32038 9.8 OpenClaw: sandbox bypass enables container lateral movement
Same package: openclaw CVE-2026-53838 9.8 OpenClaw: approval scope bypass via reconnection state
Same package: openclaw