Description (CNA)
OpenClaw version 2026.2.19-2 prior to 2026.2.21 contains a command injection vulnerability in systemd unit file generation where attacker-controlled environment values are not validated for CR/LF characters, allowing newline injection to break out of Environment= lines and inject arbitrary systemd directives. An attacker who can influence config.env.vars and trigger service install or restart can execute arbitrary commands with the privileges of the OpenClaw gateway service user.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| openclaw / openclaw | affected 2026.2.19-2 before 2026.2.21; unaffected 2026.2.21 |
CWE
CWE-77
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-vffc-f7r7-rx2w
- https://github.com/openclaw/openclaw/commit/61f646c41fb43cd87ed48f9125b4718a30d38e84
- https://www.vulncheck.com/advisories/openclaw-command-injection-via-newline-in-systemd-unit-generation
ADP enrichment
No English description supplied.