Description
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.
References (3)
Core 3
Core References
Vendor Advisory vendor-advisory
https://github.com/openclaw/openclaw/security/advisories/GHSA-vffc-f7r7-rx2w
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/openclaw-command-injection-via-newline-in-systemd-unit-generation
Scores
CVSS v3
7.1
EPSS
0.0107
EPSS Percentile
60.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-77
Status
published
Products (2)
npm/openclaw
0 - 2026.2.21npm
openclaw/openclaw
< 2026.2.21
Published
Mar 11, 2026
Tracked Since
Mar 11, 2026