CVE-2026-32917 — Vulnerability in openclaw — CVE Details
OpneClaw accepts unsanitized iMessage attachment paths which allowed SCP remote-path command injection
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (3.40%). Schedule for your next planned update.
Does your project use an affected openclaw version?
Paste your package-lock.json to check it for CVE-2026-32917 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
openclaw versions <= 2026.3.12 accepted unsanitized iMessage remote attachment paths when staging files over SCP, allowing shell metacharacters in the remote path operand.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected versions:
<= 2026.3.12 - Fixed version:
2026.3.13
Details
The vulnerable path was the remote attachment staging flow in src/auto-reply/reply/stage-sandbox-media.ts. When ctx.MediaRemoteHost was set, OpenClaw staged the attachment by spawning /usr/bin/scp against <remoteHost>:<remotePath>. In affected releases, the remote host was normalized but the remote attachment path was not validated for shell metacharacters before being passed to the SCP remote operand. A sender-controlled iMessage attachment filename containing shell metacharacters could therefore trigger command execution on the configured remote host when remote attachment staging was enabled.
This issue is in scope under OpenClaw's trust model because it crosses an inbound content boundary into host command execution on a configured remote attachment host.
Fix
openclaw@2026.3.13 validates the SCP remote path before spawning scp. Current code calls normalizeScpRemotePath(...) and rejects paths containing shell metacharacters instead of passing them through to the remote shell.
Regression coverage exists in src/auto-reply/reply.stage-sandbox-media.scp-remote-path.test.ts (rejects remote attachment filenames with shell metacharacters before spawning scp).
Fix Commit(s)
a54bf71b4c0cbe554a84340b773df37ee8e959de
Thanks @lintsinghua for reporting.
Advisory Timeline
- First published March 16, 2026 (255 days ago).
- Last revised July 8, 2026 — 113 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install openclaw@2026.3.13
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| openclaw npm · Affected: All versions | 2026.3.13 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-78OS Command InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
References
Frequently Asked Questions
- What is CVE-2026-32917?
- OpneClaw accepts unsanitized iMessage attachment paths which allowed SCP remote-path command injection. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.3/10).
- How do I check if my project is affected by CVE-2026-32917?
- CVE-2026-32917 affects openclaw. It has a 3.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-32917 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 89.6% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-28363CRITICAL
OpenClaw is vulnerable to validation bypass through GNU long-option abbreviations in allowlist mode
- CVE-2026-42434HIGH
OpenClaw: Sandboxed agents could escape exec routing via host=node override
- CVE-2026-53811HIGH
OpenClaw: Matrix allowFrom could bind to mutable display names
- CVE-2026-28391HIGH
OpenClaw's Windows cmd.exe parsing may bypass exec allowlist/approval gating
- CVE-2026-53821HIGH
OpenClaw: Trusted-proxy Control UI WebSocket accepted client-declared scopes before pairing
- CVE-2026-35669HIGH
OpenClaw: Gateway Plugin HTTP Auth Grants Unrestricted operator.admin Runtime Scope to All Callers
- CVE-2026-35666HIGH
OpenClaw's system.run allowlist can be bypassed through an unregistered time dispatch wrapper
- CVE-2026-43534MEDIUM
OpenClaw: Agent hook events could enqueue trusted system events from unsanitized external input