Openclaw cli: OpenClaw Improperly Neutralizes Line Breaks in systemd Unit Generation Enables Local Command Execution
Affects openclaw-cliSource GCVE Database
Not known to be exploited · CVSS 8.6 High : upgrade to 2026.7.1 soon.
Data as of 17 Nov 2026, 20:25 UTC
- EPSS
- 1.2% chance of exploitation in 30 days – higher than 69% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2026.7.1
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Upgrade openclaw-cli to 2026.7.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available for this vulnerability. Users should upgrade OpenClaw CLI to version 2026.7.1 or later where the issue is fixed. Until patched, avoid allowing untrusted input in environment variables used in systemd unit generation and avoid triggering service reinstall or restart with such inputs. Follow vendor guidance for applying the fix.
Description
OpenClaw CLI contains a local command injection vulnerability in its systemd unit file generation on Linux. The vulnerability arises because attacker-controlled environment variable values are not properly sanitized for newline characters, allowing injection of additional systemd directives. When the service is restarted, these injected directives execute arbitrary commands with the privileges of the OpenClaw gateway service user. This affects Linux deployments using systemd user services where an attacker can influence the environment variables and trigger service reinstall or install. A fix for this vulnerability is available.
References
- github.com/openclaw/openclaw/security/advisories/GHSA-vffc-f7r7-rx2w (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-32063 (opens in a new tab)
- github.com/openclaw/openclaw/commit/61f646c41fb43cd87ed48f9125b4718a30d38e84 (opens in a new tab)
- github.com/openclaw/openclaw (opens in a new tab)
- vulncheck.com/advisories/openclaw-command-injection-via-newline-in-systemd-unit-generation (opens in a new tab)