OpenClaw Improperly Neutralizes Line Breaks in systemd Unit Generation Enables Local Command Execution (Linux)
CVE-2026-32063 · GHSA-vffc-f7r7-rx2w · published 2026-03-03 · updated 2026-03-16
- Severity
- High
- CVSS score
- 8.6
- Chance of exploitation (EPSS)
- 1.2%
- Fixed in
- 2026.2.21
- Exploitation Public proof of concept
- Automatable No
- Technical impact Total
- CISA SSVC
This is a local command execution vulnerability in OpenClaw’s systemd unit generation during install/reinstall flows. Type: Command injection via newline/directive injection in unit file generation. Execution context: Runs with the same privileges as the OpenClaw gateway service user. Affected users: Linux deployments using systemd user services where an attacker can control config.env.vars and trigger install/reinstall.
Upgrade openclaw to 2026.2.21 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
61f646c41fb43cd87ed48f9125b4718a30d38e84
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| openclaw | npm | <= 2026.2.19-2 | 2026.2.21 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- CriticalOpenClaw: QQBot admin commands could skip DM-only and allowFrom policyopenclaw
- CriticalOpenClaw: Feishu webhook and card-action validation now fail closedopenclaw
- CriticalOpenClaw: Gateway HTTP endpoints re-resolve bearer auth after SecretRef rotationopenclaw
- CriticalOpenClaw: Sandbox escape via TOCTOU race in remote FS bridge readFileopenclaw
- CriticalOpenClaw: Heartbeat context inheritance bypasses sandbox via senderIsOwner escalationopenclaw
- CriticalOpenClaw has a CWD `.env` environment variable injection which bypasses host-env policy and allows config takeoveropenclaw
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.